Hi,
Thanks for your patch, it is now integrated in the GIT tree. Cheers
Le 23 mars 2011 à 23:13, Tom Covo a écrit : Hi,
On iPhone, the default settings (as specified by the DefaultValue key in the Settings bundle plist) are only loaded when the user goes to Linphone's settings page. If you try to use Linphone before doing this (e.g. with direct IP address dialing), calls will fail because all codecs are disabled. More context for the problem is provided in the forwarded messages below.
This is a patch which loads all the DefaultValues the first time Linphone is launched, if the defaults have not already been loaded.
-Tom
On Wed, Mar 9, 2011 at 9:57 PM, Yi Chen <address@hidden> wrote:
Dear Tom,
I tried following what you said, and it works now. Thanks a lot.
It will be appreciated if you can send me your patch.
Thank you,
Chen 2011/3/10 Tom Covo <address@hidden>
Hi Chen,
I have seen the "no common codecs" error when using the iPhone. To fix it, try going into Linphone's settings (in the iPhone settings app) and verifying that all the desired codecs are enabled. Even if they were already enabled, viewing the settings once is important because it loads the default settings. If the default settings are not loaded, all values are read as false by linphone. (This is buggy behaviour, but most people don't notice it because they always go into the settings app to set up their SIP account before trying to make their first call. I have a patch for this, I'll see if I can submit it.)
Just to re-iterate the root cause of the problem: linphone on iPhone has a set of default values for its settings, but these default values are only loaded into the configuration the first time the user views linphone's setting in the iPhone's Settings.app. The expected behaviour would be for linphone to load these default values the first time it is launched after installing.
-TomOn Wed, Mar 9, 2011 at 1:17 AM, Yi Chen <address@hidden> wrote:
Dear Tom
Thanks for your answer again. I rebuilt it following your instruction and try to set up connection between two smartphone clients again. ( without SIP account set)
Without good luck , I got "no common codecs" error, no matter it is between 2 iphones or between iphone and pc.
Thanks
chen
<loadsettings.patch>_______________________________________________ Linphone-developers mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-developers
|