mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
Add an iterate call when tunnel is connected so that the callback is called before going further.
This commit is contained in:
parent
4a04f3ba5a
commit
3f25339708
1 changed files with 1 additions and 0 deletions
|
|
@ -2239,6 +2239,7 @@ static void _call_base_with_configfile(LinphoneMediaEncryption mode, bool_t enab
|
|||
linphone_tunnel_set_mode(linphone_core_get_tunnel(marie->lc),LinphoneTunnelModeEnable);
|
||||
for (i=0;i<100;i++) {
|
||||
if (linphone_tunnel_connected(linphone_core_get_tunnel(marie->lc))) {
|
||||
linphone_core_iterate(marie->lc);
|
||||
break;
|
||||
}
|
||||
linphone_core_iterate(marie->lc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue