mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-19 17:57:22 +00:00
FS-5886 --resolve add NDLB_broken_opus_sdp which must be set as a global variable in var.xml or switch.conf.xml to enable broken opus mode for back compat with counterpath mobile
This commit is contained in:
parent
7763cfebc0
commit
b0d7ee2f86
@ -41,7 +41,7 @@ switch_cache_db_handle_t *_sofia_glue_get_db_handle(sofia_profile_t *profile, co
|
||||
|
||||
static int get_channels(const char *name, int dft)
|
||||
{
|
||||
if (!strcasecmp(name, "opus")) {
|
||||
if (switch_false(switch_core_get_variable("NDLB_broken_opus_sdp")) && !strcasecmp(name, "opus")) {
|
||||
return 2; /* IKR???*/
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user