linphone-android icon indicating copy to clipboard operation
linphone-android copied to clipboard

Are other URI protocols supported by Remote Provisioning?

Open aGrimRepoMan opened this issue 9 months ago • 3 comments

Hi,

Not an issue, just a question (apologies if questions should be posed elsewhere).

When I try to get Linphone Android's Assistant->RemoteProvisioning feature to process a locally stored (on-device) XML format config file , the GUI shows the error message: "Unknown URL format, can't download provisioning..." Does the Remote Provisioning feature on Linphone Android support URI protocols like:

  • file://
  • content://

or only URLs? I guess the answer is obvious from the error message, but asking just in case (noting that Linphone Desktop supports file:// ).

If not, any plans to support file or content URI types in the future?

I tried variations such as file://, file:///, content://, content:/// without success.

Android Device details:

  • OS: Android 9
  • App Version: 5.2.3
  • SDK Version: 5.3.19
  • App Origin: F-Droid

aGrimRepoMan avatar Apr 26 '24 15:04 aGrimRepoMan

Hi @aGrimRepoMan,

Currently only web URLs are supported in mobile version because we rely on the Patterns.WEB_URL.matcher to validate user input. If I have the time, I'll try to add file:// it for the next release.

Cheers,

Viish avatar Apr 28 '24 16:04 Viish

Hi Sorry for the stupid question how to do Remote Config for Android? Does Android not Support Codec2? I would like use some Codeq who support by Astarisk for very poor Connections where the Sound Quality not Matter. I use PMR446 Digi Radio and I know how "bad" it can sound but on the other Hand with very very little Bandwith its possible to transmitt Sound. Thanks

nousername1 avatar May 20 '24 21:05 nousername1

Hi @nousername1,

You can find our documentation about remote config here: https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/Remote%20Provisioning/

Yes, our SDK does support Codec2 audio codec, but it isn't build by default. You'll have to build the SDK yourself adding -DENABLE_CODEC2=ON to cmake parameters list.

Note that Opus is the best audio codec we support and it is adaptive and thus works very well with low bandwidths.

Cheers,

Viish avatar May 21 '24 06:05 Viish

file:// scheme is supported in 6.0.0 alpha now available in master branch.

Viish avatar Jul 16 '24 08:07 Viish