mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 17:29:20 +00:00
Add missing BUILD_UPNP preprocessor condition
This commit is contained in:
parent
12d8590df4
commit
a1645810cb
1 changed files with 2 additions and 1 deletions
|
|
@ -261,12 +261,13 @@ static void call_received(SalOp *h){
|
|||
ms_message("Defer ringing to gather ICE candidates");
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef BUILD_UPNP
|
||||
if ((linphone_core_get_firewall_policy(lc) == LinphonePolicyUseUpnp) && (call->upnp_session != NULL)) {
|
||||
/* Defer ringing until the end of the ICE candidates gathering process. */
|
||||
ms_message("Defer ringing to gather uPnP candidates");
|
||||
return;
|
||||
}
|
||||
#endif //BUILD_UPNP
|
||||
|
||||
linphone_core_notify_incoming_call(lc,call);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue