|
@@ -71,15 +71,16 @@
|
|
|
|
|
|
- (void)viewDidDisappear:(BOOL)animated{
|
|
|
[super viewDidDisappear:animated];
|
|
|
- [UIApplication sharedApplication].idleTimerDisabled = NO;
|
|
|
- [[UIApplication sharedApplication] setStatusBarHidden:NO];
|
|
|
-
|
|
|
+
|
|
|
[self HandleSomethingByExitVC];
|
|
|
}
|
|
|
|
|
|
#pragma mark
|
|
|
-(void)HandleSomethingByExitVC
|
|
|
{
|
|
|
+ [UIApplication sharedApplication].idleTimerDisabled = NO;
|
|
|
+ [[UIApplication sharedApplication] setStatusBarHidden:NO];
|
|
|
+
|
|
|
isExitType = YES;
|
|
|
if(_mediaStream){
|
|
|
[_mediaStream disconnect];
|
|
@@ -171,8 +172,8 @@
|
|
|
videoHeight:(NSInteger)phoneSize.height
|
|
|
fps:30
|
|
|
bitrate:3200//3000
|
|
|
- cardWidth:0//1080//0
|
|
|
- cardHeight:0//1920//0
|
|
|
+ cardWidth:(NSInteger)phoneSize.width//0//1080//0
|
|
|
+ cardHeight:(NSInteger)phoneSize.height//0//1920//0
|
|
|
cardDensity:0
|
|
|
token:@"vclusters"];
|
|
|
|