|
|
@@ -23,8 +23,12 @@
|
|
|
|
|
|
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
|
|
{
|
|
|
- if(!ksharedAppDelegate.isDidShowPwdType){
|
|
|
- [self resumeStream];
|
|
|
+
|
|
|
+ if(!ksharedAppDelegate.isDidShowPwdType
|
|
|
+ && !ksharedAppDelegate.isDelayedShowPwdType //横屏你让后台 设置竖屏 还是无效 延时显示
|
|
|
+ ){
|
|
|
+ //[self resumeStream];
|
|
|
+ [self relinkWebRtcFunByBecomeActive];
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -68,7 +72,9 @@
|
|
|
#pragma mark 输入密码完成
|
|
|
- (void)didInpuPwdOkFun
|
|
|
{
|
|
|
- [self resumeStream];
|
|
|
+ //[self resumeStream];
|
|
|
+
|
|
|
+ [self relinkWebRtcFunByBecomeActive];
|
|
|
|
|
|
if(self->isLanAndPrivacyEnterBackground){
|
|
|
self->isLanAndPrivacyEnterBackground = NO;
|
|
|
@@ -80,8 +86,8 @@
|
|
|
- (BOOL)player_rotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
|
|
{
|
|
|
ksharedAppDelegate.supportScreenRotateType = YES;
|
|
|
- BOOL isSuc = [self hx_rotateToInterfaceOrientation:interfaceOrientation];
|
|
|
HLog(@"旋转屏幕")
|
|
|
+ BOOL isSuc = [self hx_rotateToInterfaceOrientation:interfaceOrientation];
|
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
ksharedAppDelegate.supportScreenRotateType = NO;
|
|
|
|