From 22b240ac592432ffe7c288510716a1b8bae0e1e8 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Thu, 23 Aug 2012 11:52:42 +0200 Subject: [PATCH] Fix audio/video settings Change default primary contact value --- Classes/LinphoneCoreSettingsStore.m | 2 +- Resources/linphonerc~ipad | 2 +- Resources/linphonrc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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]