|
@@ -60,6 +60,9 @@
|
|
|
|
|
|
|
|
[currentVC dismissViewControllerAnimated:NO completion:nil];
|
|
[currentVC dismissViewControllerAnimated:NO completion:nil];
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ self.needToDissconnectType = YES;
|
|
|
|
|
+ [self disconnectVideoServer];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
|
- (void)applicationDidBecomeActive:(NSNotification *)notification
|
|
@@ -82,7 +85,14 @@
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- [self requestIFrame];
|
|
|
|
|
|
|
+ if(self.needToDissconnectType){
|
|
|
|
|
+ self.needToDissconnectType = NO;
|
|
|
|
|
+ [self tryAgain];
|
|
|
|
|
+ }
|
|
|
|
|
+ else{
|
|
|
|
|
+ [self requestIFrame];
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
[self setShowImgAndVoiceTypeFun:YES];
|
|
[self setShowImgAndVoiceTypeFun:YES];
|
|
|
}
|
|
}
|