linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] iOS config-uri error


From: Michael Valentiner
Subject: [Linphone-developers] iOS config-uri error
Date: Tue, 21 Feb 2017 23:20:20 -0600

I am adding video capability to an app follow the Linphone iOS app source code. 
 I am using LinphoneManager.h/.m as it is used in the Linphone iOS app.  I’ve 
included the app resources and included them in the Copy Bundle Resources build 
phase.  When I run, I am getting an error when configuring:  

Feb 21 16:41:51 iPhone NRM Demo[217] <Error>: lib/ms_load_file_content(): could 
not open 
[Optional("/private/var/mobile/Containers/Bundle/Application/1320B417-637E-4DA9-A4B8-FAFB456833E5/NRM
 Demo.app/assistant_external_sip.rc")]
Feb 21 16:41:51 iPhone NRM Demo[217] <Notice>: ios/(LinphoneManager.m:968 ) 
onGlobalStatusChanged: 1 (message: Bad URI)

At startup, my AppDelegate calls LinphoneManager.init, which calls 
LinphoneManager.overrideDefaultSettings , which has this line:

        _configDb = lp_config_new_with_factory([confiFileName UTF8String], 
[factory UTF8String]);

_configDb, then contains this entry:

        <entry 
name="config-uri">file://Optional("/private/var/mobile/Containers/Bundle/Application/1320B417-637E-4DA9-A4B8-FAFB456833E5/NRM
 Demo.app/assistant_external_sip.rc")</entry>

The Linphone app has this:

        <entry 
name="config-uri">file:///var/containers/Bundle/Application/542FD316-9B9E-486B-B26D-FB8AC76A75FB/linphone.app/assistant_external_sip.rc</entry>

Does anyone know why this is happening? How to get rid of it?  Is it a bug in 
lp_config_new_with_factory()?

--------------------------------------------
Michael Valentiner
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]