Browse Source

Merge commit '12ee7294de9ff172ad964f90b356c59a0506bf1d' into HiBoxde1.0

huangxiaodong 1 year ago
parent
commit
9d1a157e61

+ 4 - 3
创维盒子/双子星云手机/CloudPlayer/PlayerViewController.mm

@@ -217,7 +217,7 @@ ComontAlretViewControllerDelegate>
     
     
     _checkThridConnectNum += 1;
     _checkThridConnectNum += 1;
     
     
-    if(_checkThridConnectNum == 60 && [[connectDeviceManager shareInstance] curConnectDeviceState] <= 3 ){
+    if(_checkThridConnectNum == 30 && [[connectDeviceManager shareInstance] curConnectDeviceState] <= 3 ){
         [self showNetErrorAlertFun];
         [self showNetErrorAlertFun];
         
         
 //        [_checkThridConnectTimer invalidate];
 //        [_checkThridConnectTimer invalidate];
@@ -1952,6 +1952,9 @@ BOOL inReconnect = NO;
 {
 {
     reConnectAccount++;
     reConnectAccount++;
     
     
+    
+    HLog(@"yyyyyyyyyyyyy 重连次数 %ld ",reConnectAccount);
+    
     //20231017 修改后台3分钟再次进入 不断转圈圈问题
     //20231017 修改后台3分钟再次进入 不断转圈圈问题
     if (reConnectAccount >0 && reConnectAccount == 10 )
     if (reConnectAccount >0 && reConnectAccount == 10 )
     {
     {
@@ -1968,8 +1971,6 @@ BOOL inReconnect = NO;
                 [[iToast makeText:NSLocalizedString(@"player_link_fail_tip",nil)] show];
                 [[iToast makeText:NSLocalizedString(@"player_link_fail_tip",nil)] show];
             }
             }
             
             
-            HLog(@"yyyyyyyyyyyyy");
-            
             [self showNetErrorAlertFun];
             [self showNetErrorAlertFun];
         });
         });