mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
Merge branch 'new_ui' of git.linphone.org:linphone-iphone into apple_store
This commit is contained in:
commit
b2d11173f0
1 changed files with 2 additions and 4 deletions
|
|
@ -186,12 +186,10 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
|
||||
LinphoneCore *lc = [LinphoneManager getLc];
|
||||
LCSipTransports transportValue={0};
|
||||
if (linphone_core_get_sip_transports(lc, &transportValue)) {
|
||||
[LinphoneLogger logc:LinphoneLoggerError format:"cannot get current transport"];
|
||||
}
|
||||
transportValue.udp_port=5060;
|
||||
transportValue.tls_port=0;
|
||||
transportValue.tcp_port=0;
|
||||
transportValue.udp_port=transportValue.tcp_port|transportValue.udp_port|transportValue.tls_port;
|
||||
|
||||
if (linphone_core_set_sip_transports(lc, &transportValue)) {
|
||||
[LinphoneLogger logc:LinphoneLoggerError format:"cannot set transport"];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue