|
@@ -1,8 +1,8 @@
|
|
|
//
|
|
|
// webRtcPlayerViewController.m
|
|
|
-// 双子星云手机
|
|
|
//
|
|
|
-// Created by xd h on 2024/9/2.
|
|
|
+//
|
|
|
+// Created David on 2024/9/2.
|
|
|
//
|
|
|
|
|
|
#import "webRtcPlayerViewController.h"
|
|
@@ -10,6 +10,7 @@
|
|
|
#import "webRtcPlayerViewController+AdjustPlayerViewFrame.h"
|
|
|
#import "webRtcPlayerViewController+AppDelegate.h"
|
|
|
#import "playerSetView.h"
|
|
|
+#import <AVFoundation/AVFoundation.h>
|
|
|
|
|
|
@interface webRtcPlayerViewController ()<MediaStreamClientEventsDelegate>
|
|
|
{
|
|
@@ -409,7 +410,7 @@
|
|
|
}
|
|
|
break;
|
|
|
#pragma mark 重启盒子
|
|
|
- case 202:
|
|
|
+ case 201:
|
|
|
{
|
|
|
[weakSelf didClickRestartFun];
|
|
|
}
|
|
@@ -419,27 +420,27 @@
|
|
|
[weakSelf exitCloudPhoneFun];
|
|
|
}
|
|
|
break;
|
|
|
- case 201:
|
|
|
- {
|
|
|
- BOOL fullscreenType = [HWDataManager getBoolWithKey:Consn_player_full_screen_show];
|
|
|
- if(fullscreenType){
|
|
|
- [weakSelf showOpenTVP2PFun];
|
|
|
- }
|
|
|
- else{
|
|
|
- [weakSelf openTvShowFun];
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- break;
|
|
|
- case 301:
|
|
|
- {
|
|
|
- weakSelf.controlBtn.userInteractionEnabled = NO;
|
|
|
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
- weakSelf.controlBtn.userInteractionEnabled = YES;
|
|
|
- });
|
|
|
- [weakSelf showCloseTVP2PFun];
|
|
|
- }
|
|
|
- break;
|
|
|
+// case 201:
|
|
|
+// {
|
|
|
+// BOOL fullscreenType = [HWDataManager getBoolWithKey:Consn_player_full_screen_show];
|
|
|
+// if(fullscreenType){
|
|
|
+// [weakSelf showOpenTVP2PFun];
|
|
|
+// }
|
|
|
+// else{
|
|
|
+// [weakSelf openTvShowFun];
|
|
|
+// }
|
|
|
+//
|
|
|
+// }
|
|
|
+// break;
|
|
|
+// case 301:
|
|
|
+// {
|
|
|
+// weakSelf.controlBtn.userInteractionEnabled = NO;
|
|
|
+// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
+// weakSelf.controlBtn.userInteractionEnabled = YES;
|
|
|
+// });
|
|
|
+// [weakSelf showCloseTVP2PFun];
|
|
|
+// }
|
|
|
+// break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|