huangxiaodong дней назад: 4
Родитель
Сommit
96b312c92f
1 измененных файлов с 6 добавлено и 4 удалено
  1. 6 4
      创维盒子/code/webRtc/webRtcPlayerViewController.m

+ 6 - 4
创维盒子/code/webRtc/webRtcPlayerViewController.m

@@ -190,9 +190,9 @@
     [self initBaseUIFun];
     [self setTimerCountDown];
     
-    
-    [self showNewIndicatorWithCanBack:YES canTouch:NO];
-    
+    if(didPrelinkPlay){
+        [self showNewIndicatorWithCanBack:YES canTouch:NO];
+    }
 }
 
 #pragma mark 链接webrtc
@@ -298,7 +298,9 @@
     [cachesFileManager writeLogsWithMsg:@"webRtcPlayer relinkWebRtcFun"];
     KWeakSelf
     mainBlock(^{
-        [weakSelf showNewIndicatorWithCanBack:YES canTouch:NO];
+        if(self->didPrelinkPlay){
+            [weakSelf showNewIndicatorWithCanBack:YES canTouch:NO];
+        }
         
         NSInteger curResolution = [HWDataManager getIntegerWithKey:Const_cloudPhone_cur_resolution];
         CGFloat curWidth = 720.0;