|
|
@@ -72,6 +72,8 @@
|
|
|
ksharedAppDelegate.supportScreenRotateType = NO;
|
|
|
|
|
|
[self removeNewIndicator];
|
|
|
+ [_playerSecondTimer invalidate];
|
|
|
+ _webRtcMsgMod = nil;
|
|
|
}
|
|
|
|
|
|
- (void)setWebRtcMsgMod:(webRtcMsgModel *)webRtcMsgMod
|
|
|
@@ -107,7 +109,7 @@
|
|
|
[self setTimerCountDown];
|
|
|
|
|
|
//CGFloat curRate = 1080.0/1920.0;
|
|
|
- CGFloat curRate = phoneSize.width/phoneSize.height;
|
|
|
+ //CGFloat curRate = phoneSize.width/phoneSize.height;
|
|
|
|
|
|
[self showNewIndicatorWithCanBack:YES canTouch:NO];
|
|
|
|
|
|
@@ -160,8 +162,10 @@
|
|
|
}
|
|
|
|
|
|
HLog(@"发起重连 ......")
|
|
|
+
|
|
|
+ KWeakSelf
|
|
|
mainBlock(^{
|
|
|
- [self showNewIndicatorWithCanBack:YES canTouch:NO];
|
|
|
+ [weakSelf showNewIndicatorWithCanBack:YES canTouch:NO];
|
|
|
|
|
|
//判断是否是全屏
|
|
|
BOOL fullscreenType = [HWDataManager getBoolWithKey:Consn_player_full_screen_show];
|
|
|
@@ -170,7 +174,7 @@
|
|
|
phoneSize = [RCCommandHelp commondToSetFullScreenPhoneSizeBySize];
|
|
|
}
|
|
|
|
|
|
- [self linkWebRtcFunWithSize:phoneSize];
|
|
|
+ [weakSelf linkWebRtcFunWithSize:phoneSize];
|
|
|
});
|
|
|
}
|
|
|
|
|
|
@@ -293,7 +297,7 @@
|
|
|
break;
|
|
|
case 101:
|
|
|
{
|
|
|
- self.controlBtn.userInteractionEnabled = NO;
|
|
|
+ weakSelf.controlBtn.userInteractionEnabled = NO;
|
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
self->controlBtn.userInteractionEnabled = YES;
|
|
|
});
|