提交 625defb1 authored 作者: Anthony Minessale's avatar Anthony Minessale

try this jlenk

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15792 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 c75b69de
......@@ -815,7 +815,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f
}
if (tech_pvt->last_codec_ms && tech_pvt->last_codec_ms != codec_ms) {
if (tech_pvt->last_codec_ms && tech_pvt->last_codec_ms == codec_ms) {
tech_pvt->mismatch_count++;
}
......@@ -886,7 +886,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f
}
tech_pvt->check_frames = 0;
tech_pvt->check_frames = MAX_CODEC_CHECK_FRAMES;
tech_pvt->last_ts = 0;
/* inform them of the codec they are actually sending */
sofia_glue_do_invite(session);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论