diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 458b418d7f..5167ea534f 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -226,7 +226,7 @@ SWITCH_DECLARE(int) switch_core_media_crypto_keylen(switch_rtp_crypto_key_type_t 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???*/ }