]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote...
authorDragos Oancea <dragos@signalwire.com>
Fri, 14 May 2021 15:36:30 +0000 (18:36 +0300)
committerGitHub <noreply@github.com>
Fri, 14 May 2021 15:36:30 +0000 (18:36 +0300)
commita562db760c8a9247d35d353ed98331b835ca3636
tree9c23a5995c84526ba68f434deb73ecef6e99d15b
parent53a52e1571dbb21b10f302f4f3346b4244ed7950
[mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.

* [mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
sprop-stereo will be set to 0 too.

* [core] opus: use switch_core_max_audio_channels() with remote fmtp stereo=1 to allow disabling of stereo.
conf/testing/autoload_configs/opus.conf.xml
conf/vanilla/autoload_configs/opus.conf.xml
src/mod/codecs/mod_opus/mod_opus.c
src/switch_core_media.c