Ver código fonte

1.多端登录挤下线后拖车推拉流页,退到nas页面

huangxiaodong 9 meses atrás
pai
commit
ef317fc37f

+ 7 - 0
创维盒子/双子星云手机/webRtc/webRtcPlayerViewController.m

@@ -583,6 +583,11 @@
     //被挤下线 停止拉流
     [self pauseStream];
     
+    //退出推流页
+    [self.navigationController popViewControllerAnimated:NO];
+    //与安卓保存一致 tabbar 退倒nas页
+    [ksharedAppDelegate.mainTabBar setSelectedIndex:0];
+    
     /*弹窗提示重启*/
     //KWeakSelf
     logoutAlertVC = [[ComontAlretViewController alloc] initWithTiTle:NSLocalizedString(@"single_sign_on_Tips_logout",nil)
@@ -599,6 +604,8 @@
     }];
     logoutAlertVC.modalPresentationStyle = UIModalPresentationCustom;
 
+    logoutAlertVC.view.backgroundColor = [UIColor blackColor];
+    
     [[iTools appRootViewController] presentViewController:logoutAlertVC animated:YES completion:^{
         self->logoutAlertVC.view.superview.backgroundColor = [UIColor clearColor];
     }];