forked from mirrors/linphone-iphone
Let the lib handle socket when bg
This commit is contained in:
parent
eaaa8d013f
commit
29ca0fc15d
1 changed files with 0 additions and 4 deletions
|
|
@ -52,10 +52,6 @@
|
|||
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application {
|
||||
LOGI(@"%@", NSStringFromSelector(_cmd));
|
||||
if (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_9_x_Max && (linphone_core_get_calls_nb(LC) == 0)) {
|
||||
linphone_core_set_network_reachable(LC, FALSE);
|
||||
LinphoneManager.instance.connectivity = none;
|
||||
}
|
||||
[LinphoneManager.instance enterBackgroundMode];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue