mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
add logging info
This commit is contained in:
parent
2f798fd48f
commit
fcae584453
1 changed files with 2 additions and 1 deletions
|
|
@ -448,9 +448,10 @@
|
|||
[LinphoneManager.instance startPushLongRunningTask:TRUE callId:callId];
|
||||
}
|
||||
|
||||
// if we receive a remote notification, it is probably because our TCP background socket was no more working.
|
||||
// if we receive a push notification, it is probably because our TCP background socket was no more working.
|
||||
// As a result, break it and refresh registers in order to make sure to receive incoming INVITE or MESSAGE
|
||||
if (!linphone_core_is_network_reachable(LC)) {
|
||||
LOGI(@"Notification [%p] : network is down, restarting it.", userInfo);
|
||||
LinphoneManager.instance.connectivity = none; //Force connectivity to be discovered again
|
||||
[LinphoneManager.instance setupNetworkReachabilityCallback];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue