Forráskód Böngészése

1.信令通道链接失败上传日志

huangxiaodong 11 hónapja%!(EXTRA string=óta)
szülő
commit
ab03278f45

+ 3 - 0
创维盒子/双子星云手机/webRtc/webRtcManager/webRtcManager.m

@@ -40,6 +40,7 @@
     if (self = [super init]) {
         //[self registeNotification];
         
+        tryRelinkNum = 0;
         //2.客户端开始写日志
         [ksharedAppDelegate.WebRtcLogger start];
         HLog(@"webrtc :%@",ksharedAppDelegate.WebRtcLogger)
@@ -75,6 +76,7 @@
             if(tryRelinkNum == 2){
                 _didReportWebRtcFailType = YES;
                 [self reportWebRtcRePoportTypeIsChannel:YES withStats:nil withSessionId:_webRtcChannelSessionId];
+                [[addLogObject shareInstance] gotoAddLogFun];
             }
         }
         
@@ -173,6 +175,7 @@
     _isRebootIngType = NO;
     _isResetingType = NO;
     _isChangeBoxType = NO;
+    tryRelinkNum = 0;
     
     ksharedAppDelegate.isWebSockLinkOKAginType = YES;