mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
replace missing line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10612 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
a579a28324
commit
35b7706576
1 file changed
+3
-1
@@ -721,7 +721,9 @@ 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++;
|
tech_pvt->mismatch_count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tech_pvt->last_codec_ms = codec_ms;
|
||||||
|
|
||||||
if (tech_pvt->mismatch_count > MAX_MISMATCH_FRAMES) {
|
if (tech_pvt->mismatch_count > MAX_MISMATCH_FRAMES) {
|
||||||
if (switch_rtp_ready(tech_pvt->rtp_session) && codec_ms != tech_pvt->codec_ms) {
|
if (switch_rtp_ready(tech_pvt->rtp_session) && codec_ms != tech_pvt->codec_ms) {
|
||||||
const char *val;
|
const char *val;
|
||||||
|
|||||||
Reference in new issue
Block a user