|
@@ -121,7 +121,7 @@ ComontAlretViewControllerDelegate>
|
|
|
NSTimer *forceStartTimer;//请知重启timer
|
|
|
|
|
|
int preIFrameNum;
|
|
|
- BOOL isWebSockLinkOKAginType;//WebSock断开后或者链接上了
|
|
|
+
|
|
|
|
|
|
}
|
|
|
@property (nonatomic, strong, nullable) RCVideoRecoderManager *recoderManager;
|
|
@@ -811,7 +811,7 @@ ComontAlretViewControllerDelegate>
|
|
|
}
|
|
|
|
|
|
} failure:^(NSError *error) {
|
|
|
- self->isWebSockLinkOKAginType = NO;
|
|
|
+ ksharedAppDelegate.isWebSockLinkOKAginType = NO;
|
|
|
[self showNetErrorAlertFun:2];
|
|
|
[self WebSocketNeedRelinkFun];
|
|
|
}];
|
|
@@ -1711,7 +1711,7 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
|
|
|
#pragma mark 盒子链接成功后需要处理的各种各样事情
|
|
|
- (void)handlAllMsgAfterDidLinkFun
|
|
|
{
|
|
|
- self->isWebSockLinkOKAginType = YES;
|
|
|
+ ksharedAppDelegate.isWebSockLinkOKAginType = YES;
|
|
|
|
|
|
//获取云机尺寸 兼容 720*1080 &1080*1920 不同分辨率的展示和触控
|
|
|
NSString *getPhoneSizeStr = [RCCommandHelp getPhoneSizecommand];
|
|
@@ -2199,7 +2199,7 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
|
|
|
|
|
|
if(linkFailAlretVC
|
|
|
||[connectDeviceManager shareInstance].isReInitType//瑞云重新init 耗时2-7s 他们说的
|
|
|
- ||(self->isWebSockLinkOKAginType && type == 2) //重连上了但是延时消息来了
|
|
|
+ ||(ksharedAppDelegate.isWebSockLinkOKAginType && type == 2) //重连上了但是延时消息来了
|
|
|
){
|
|
|
return;
|
|
|
}
|