BelledonneCommunications / linphone-android

Linphone.org mirror for linphone-android (https://gitlab.linphone.org/BC/public/linphone-android)
https://linphone.org
GNU General Public License v3.0
1.12k stars 680 forks source link

Are other URI protocols supported by Remote Provisioning? #2154

Closed aGrimRepoMan closed 2 months ago

aGrimRepoMan commented 5 months ago

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:

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:

Viish commented 5 months ago

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,

nousername1 commented 4 months ago

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

Viish commented 4 months ago

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 commented 2 months ago

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