提交 b0c6bd71 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3739 please try this patch, its not so much of a bug as an unintended…

FS-3739 please try this patch, its not so much of a bug as an unintended consequence of combining features but this may be the best of both worlds
上级 5e4a5145
......@@ -787,6 +787,11 @@ void sofia_glue_tech_prepare_codecs(private_object_t *tech_pvt)
switch_assert(tech_pvt->session != NULL);
if ((abs = switch_channel_get_variable(tech_pvt->channel, "absolute_codec_string"))) {
/* inherit_codec == true will implicitly clear the absolute_codec_string
variable if used since it was the reason it was set in the first place and is no longer needed */
if (switch_true(switch_channel_get_variable(tech_pvt->channel, "inherit_codec"))) {
switch_channel_set_variable(tech_pvt->channel, "absolute_codec_string", NULL);
}
codec_string = abs;
goto ready;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论