|
@@ -342,6 +342,7 @@
|
|
|
if(tryRelinkNum == 6){
|
|
|
_didReportWebRtcType = YES;
|
|
|
[[webRtcManager shareManager] reportWebRtcRePoportTypeIsChannel:YES withStats:nil];
|
|
|
+ [self showLinkPhoneErrorFun];
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -350,6 +351,21 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+#pragma mark 云机连接不上
|
|
|
+- (void)showLinkPhoneErrorFun
|
|
|
+{
|
|
|
+ KWeakSelf
|
|
|
+ [[errorAlertTool shareInstance] showNetErrorAlertFun:5 didClickBut:^(NSInteger tag) {
|
|
|
+ if(tag == 1){
|
|
|
+ [weakSelf relinkWebRtcFun];
|
|
|
+ }
|
|
|
+ else if(tag == 5){
|
|
|
+ [weakSelf exitCloudPhoneFun];
|
|
|
+ }
|
|
|
+ }];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
#pragma mark 控制按钮点击事件
|
|
|
- (void)controlBtnPressed:(UIButton*)but
|
|
|
{
|