Sfoglia il codice sorgente

1.单点登录断开音视频拉流 重新登录再链接

huangxiaodong 1 anno fa
parent
commit
10a635ecbe

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

@@ -1571,6 +1571,7 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
 - (void)LogoutByOtherFun
 {
     //
+    [self disconnectVideoServer];
     
     _canShowImgAndVoiceType = NO;
     
@@ -1647,6 +1648,7 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
         _canShowImgAndVoiceType = isCan;
         
         if(_isLoginAgainType ){
+            [self tryAgain];
             [self fristConnectNeedGiveAMsgFun];
         }
     }