|
|
@@ -124,7 +124,6 @@ ComontAlretViewControllerDelegate>
|
|
|
|
|
|
int preIFrameNum;
|
|
|
|
|
|
- NSMutableArray *commandSendCheckArr;//需要检测任务是否发出的的指令
|
|
|
}
|
|
|
@property (nonatomic, strong, nullable) RCVideoRecoderManager *recoderManager;
|
|
|
@property (nonatomic, strong, nullable) RCAudioRecoderMamager *audioRecoderMamager;
|
|
|
@@ -368,6 +367,8 @@ ComontAlretViewControllerDelegate>
|
|
|
|
|
|
self.didRecyclResource = YES;
|
|
|
|
|
|
+ [commandSendCheckArr removeAllObjects];
|
|
|
+ commandSendCheckArr = nil;
|
|
|
// 销毁定时器
|
|
|
[self cancelTimer];
|
|
|
|
|
|
@@ -788,6 +789,10 @@ ComontAlretViewControllerDelegate>
|
|
|
[weakSelf getExtraMediaEventResponseFun:dataDict];
|
|
|
[weakSelf getExtraFilesListFun];
|
|
|
}
|
|
|
+ else if ([messageType isEqualToString:@"reset"]){/**/
|
|
|
+ [weakSelf deleteCommandSendTaskFunWith:@"reset"];
|
|
|
+ }
|
|
|
+
|
|
|
} failure:^(NSError *error) {
|
|
|
[self showNetErrorAlertFun:2];
|
|
|
}];
|
|
|
@@ -1643,6 +1648,18 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
|
|
|
//最后一帧 没显示正在重启问题
|
|
|
//self->_canShowImgAndVoiceType = YES;
|
|
|
_isResetingType = YES;
|
|
|
+
|
|
|
+ //添加到任务监听
|
|
|
+ commandSendCheckModel *model = [commandSendCheckModel new];
|
|
|
+ model.commandStr = commondStr;
|
|
|
+ model.type = @"reset";
|
|
|
+ model.reSendNum = 0;
|
|
|
+ model.sendTimerStamp = [iTools getNowTimeStamp];
|
|
|
+
|
|
|
+ if(commandSendCheckArr){
|
|
|
+ [commandSendCheckArr addObject:model];
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
#pragma mark 启动timer 秒后检查是否软件重启成功
|