BelledonneCommunications / liblinphone

Linphone.org mirror for liblinphone (git://git.linphone.org/liblinphone.git)
http://linphone.org
GNU Affero General Public License v3.0
378 stars 219 forks source link

Add account specific configuration to override global configuration #241

Open lnpn23121 opened 10 months ago

lnpn23121 commented 10 months ago

Hello,

It would be useful to have account specific configurations, especially codec configuration, because different SIP servers support different set of codecs, enabling all codecs globally may not work for SIP servers that only support UDP since having too many codecs sometimes breaks due to packet fragmentation. The current workaround is only enabling codecs that are supported by all SIP servers like G.711 which isn't ideal as better codecs can't be used for servers that support them.

Thanks.

Viish commented 10 months ago

Hi @lnpn23121,

Yes you are right, however our SDK isn't currently ready for that. Note that connecting to SIP servers using UDP is a really bad thing, and the more we can push them to accept TCP/TLS the better. That's why we don't prioritize developments that would "make the life easier" of users of such SIP servers.

Cheers,