|
@@ -138,7 +138,6 @@ UIDocumentPickerDelegate>
|
|
|
@property (nonatomic, copy) NSTimer *timer; // 定时器-控制按钮
|
|
|
/**30s后 渲染时间戳无更新 自动断开链接*/
|
|
|
@property (nonatomic, assign) NSInteger concentTime; // 拉流数据 渲染更新时间戳
|
|
|
-@property (nonatomic, assign) NSInteger webSocketConcentTime;
|
|
|
|
|
|
/**定时器计数*/
|
|
|
@property (nonatomic, assign) NSInteger currentTime;
|
|
@@ -296,9 +295,6 @@ UIDocumentPickerDelegate>
|
|
|
[hidenTextField resignFirstResponder];
|
|
|
hidenTextField.text = @"";
|
|
|
hidenTextFieldOldStr = nil;
|
|
|
-
|
|
|
- self.webSocketConcentTime = 0;
|
|
|
-
|
|
|
|
|
|
}
|
|
|
|
|
@@ -1286,11 +1282,6 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
|
|
|
[weakSelf startCheckThridRuiYunTimerFun];
|
|
|
};
|
|
|
|
|
|
-#pragma mark 获取云机剩余空间
|
|
|
- nextVC.getBaseInfo = ^{
|
|
|
- [weakSelf getBaseInfoFun];
|
|
|
- };
|
|
|
-
|
|
|
|
|
|
#pragma mark 获取云机版本信息
|
|
|
nextVC.getSysInfo = ^{
|
|
@@ -1305,12 +1296,7 @@ NSDate *lastVideoTome;/*上一帧数据时间*/
|
|
|
};
|
|
|
}
|
|
|
|
|
|
-#pragma mark 获取云机剩余空间
|
|
|
-- (void)getBaseInfoFun
|
|
|
-{
|
|
|
- NSString *commondStr = @"{\"type\":\"getBaseInfo\"}";
|
|
|
- [self send_data:commondStr];
|
|
|
-}
|
|
|
+
|
|
|
|
|
|
|
|
|
- (void)needToRebootFun
|
|
@@ -2035,8 +2021,7 @@ BOOL inReconnect = NO;
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillResignActive:) name:UIApplicationWillResignActiveNotification object:nil];
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidEnterBackground:) name:UIApplicationDidEnterBackgroundNotification object:nil];
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(volumeChanged:) name:AVSystemController_SystemVolumeDidChangeNotification object:nil];
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(extensionRBDGetRbdDeviceNotification:) name:GetRbdDeviceNotification object:nil];
|
|
|
-
|
|
|
+
|
|
|
outputVolumeKVO = YES;
|
|
|
[[AVAudioSession sharedInstance] addObserver:self forKeyPath:@"outputVolume" options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld context:(void *)[AVAudioSession sharedInstance]];
|
|
|
|
|
@@ -2048,18 +2033,6 @@ BOOL inReconnect = NO;
|
|
|
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(setShowPwdVCTypeFun) name:ShowPwdVCNotification object:nil];
|
|
|
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(beginGotoUploadFileFun:) name:uploadFileBeginNotification object:nil];
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(suspendUploadFileFun:) name:uploadFileSuspendNotification object:nil];
|
|
|
-
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(beginGotoBackupsFileFun:) name:backupsFileBeginNotification object:nil];
|
|
|
-
|
|
|
-
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(begindownloadThumbnailImageFun:) name:downloadThumbnailBeginNotification object:nil];
|
|
|
-
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(begindownloadFileFun:) name:downloadFileBeginNotification object:nil];
|
|
|
-
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getBaseInfoFun) name:getbaseInfoBeginNotification object:nil];
|
|
|
-
|
|
|
//某一个YCDownloadItem下载成功通知
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(downloadTaskFinishedNoti:) name:nasDownloadTaskFinishedNotification object:nil];
|
|
|
}
|
|
@@ -2074,8 +2047,7 @@ BOOL inReconnect = NO;
|
|
|
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationWillResignActiveNotification object:nil];
|
|
|
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidEnterBackgroundNotification object:nil];
|
|
|
|
|
|
- [[NSNotificationCenter defaultCenter] removeObserver:self name:uploadFileBeginNotification object:nil];
|
|
|
-
|
|
|
+
|
|
|
if (outputVolumeKVO)
|
|
|
{
|
|
|
[[AVAudioSession sharedInstance] removeObserver:self forKeyPath:@"outputVolume" context:(void *)[AVAudioSession sharedInstance]];
|
|
@@ -2572,14 +2544,14 @@ static int couneeee = 0;
|
|
|
[self showNewIndicator];
|
|
|
[self tryAgain];
|
|
|
}
|
|
|
- else if(self.webSocketConcentTime > 0){
|
|
|
- //后续要跟进
|
|
|
-
|
|
|
- if(_isFirstEnterPhone){
|
|
|
- HLog(@"\n\n\n\n\n 云手机30s 无渲染数据 要跟进 \n\n\n\n\n");
|
|
|
- [self showNetErrorAlertFun:3];
|
|
|
- }
|
|
|
- }
|
|
|
+// else if(self.webSocketConcentTime > 0){
|
|
|
+// //后续要跟进
|
|
|
+//
|
|
|
+// if(_isFirstEnterPhone){
|
|
|
+// HLog(@"\n\n\n\n\n 云手机30s 无渲染数据 要跟进 \n\n\n\n\n");
|
|
|
+// [self showNetErrorAlertFun:3];
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
|
|
|
/*弹窗提示*/
|