Commit 274dfdc
[core/media] make Opus consider rate different than default 48 kHz
In vars.xml , when you use codec settings like this:
<X-PRE-PROCESS cmd="set" data="internal_codec_prefs=OPUS@16000h@1c,PCMU,PCMA,G729"/>
The switch_core_media.c line 5520 only takes the OPUS default rate (48k) instead of 16k in the config.
Because of this, FS won't be able to choose opus if your client asks for 16k opus. You will see same log symptom as #2226
Co-authored-by: magiclin99 <magiclin99@gmail.com>1 parent 9d69bd6 commit 274dfdc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5515 | 5515 | | |
5516 | 5516 | | |
5517 | 5517 | | |
5518 | | - | |
| 5518 | + | |
5519 | 5519 | | |
5520 | 5520 | | |
5521 | 5521 | | |
| |||
0 commit comments