diff --git a/Classes/LinphoneCoreSettingsStore.m b/Classes/LinphoneCoreSettingsStore.m index 5acaea706..5d610cf7c 100644 --- a/Classes/LinphoneCoreSettingsStore.m +++ b/Classes/LinphoneCoreSettingsStore.m @@ -474,7 +474,7 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args); int audio_port_preference = [self integerForKey:@"audio_port_preference"]; linphone_core_set_audio_port(lc, audio_port_preference); int video_port_preference = [self integerForKey:@"video_port_preference"]; - linphone_core_set_audio_port(lc, video_port_preference); + linphone_core_set_video_port(lc, video_port_preference); UIDevice* device = [UIDevice currentDevice]; bool backgroundSupported = false; diff --git a/Resources/linphonerc~ipad b/Resources/linphonerc~ipad index 10c2a12a9..2b37b20f2 100644 --- a/Resources/linphonerc~ipad +++ b/Resources/linphonerc~ipad @@ -2,7 +2,7 @@ sip_random_port=1 sip_tcp_random_port=1 sip_tls_random_port=1 -contact=sip:toto@unknown-host +contact="Linphone iPhone" keepalive_period=30000 [rtp] diff --git a/Resources/linphonrc b/Resources/linphonrc index 10c2a12a9..2b37b20f2 100644 --- a/Resources/linphonrc +++ b/Resources/linphonrc @@ -2,7 +2,7 @@ sip_random_port=1 sip_tcp_random_port=1 sip_tls_random_port=1 -contact=sip:toto@unknown-host +contact="Linphone iPhone" keepalive_period=30000 [rtp]