提交 3cfc19fd authored 作者: Anthony Minessale's avatar Anthony Minessale

fix codec neg

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4276 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 10728967
......@@ -802,7 +802,9 @@ static void tech_set_codecs(private_object_t *tech_pvt)
codec_string = abs;
} else {
if (!(codec_string = switch_channel_get_variable(channel, "codec_string"))) {
codec_string = tech_pvt->profile->codec_string;
if (tech_pvt->profile->codec_string) {
codec_string = switch_core_session_strdup(tech_pvt->session, tech_pvt->profile->codec_string);
}
}
if ((ocodec = switch_channel_get_variable(channel, SWITCH_ORIGINATOR_CODEC_VARIABLE))) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论