|
@@ -431,11 +431,11 @@
|
|
|
tryRelinkNum = 0;
|
|
|
_didReportWebRtcFailType = YES;
|
|
|
|
|
|
- globalBlock(^{
|
|
|
- [[addLogObject shareInstance] gotoAddLogFunBySuccess:^(NSString * _Nonnull key) {
|
|
|
- [[webRtcManager shareManager] reportWebRtcRePoportTypeIsChannel:NO withStats:nil withSessionId:self->_webRtcPlayerSessionId withLogKey:key];
|
|
|
- }];
|
|
|
- });
|
|
|
+// globalBlock(^{
|
|
|
+// [[addLogObject shareInstance] gotoAddLogFunBySuccess:^(NSString * _Nonnull key) {
|
|
|
+// [[webRtcManager shareManager] reportWebRtcRePoportTypeIsChannel:NO withStats:nil withSessionId:self->_webRtcPlayerSessionId withLogKey:key];
|
|
|
+// }];
|
|
|
+// });
|
|
|
|
|
|
|
|
|
//[self showLinkPhoneErrorFun];
|
|
@@ -1172,11 +1172,11 @@
|
|
|
case RTCIceConnectionStateClosed:{
|
|
|
if(!_didReportWebRtcFailType && state == RTCIceConnectionStateFailed){//还没上报过通道链接情况
|
|
|
_didReportWebRtcFailType = YES;
|
|
|
- globalBlock(^{
|
|
|
- [[addLogObject shareInstance] gotoAddLogFunBySuccess:^(NSString * _Nonnull key) {
|
|
|
- [[webRtcManager shareManager] reportWebRtcRePoportTypeIsChannel:NO withStats:nil withSessionId:self->_webRtcPlayerSessionId withLogKey:key];
|
|
|
- }];
|
|
|
- });
|
|
|
+// globalBlock(^{
|
|
|
+// [[addLogObject shareInstance] gotoAddLogFunBySuccess:^(NSString * _Nonnull key) {
|
|
|
+// [[webRtcManager shareManager] reportWebRtcRePoportTypeIsChannel:NO withStats:nil withSessionId:self->_webRtcPlayerSessionId withLogKey:key];
|
|
|
+// }];
|
|
|
+// });
|
|
|
}
|
|
|
//链接关闭
|
|
|
[self relinkWebRtcFun];
|