update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3205 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ee086006d5
commit
6a6c57f0f6
|
@ -1283,7 +1283,6 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
|
|||
|
||||
|
||||
if (switch_test_flag(tech_pvt, TFLAG_BYE)) {
|
||||
//terminate_session(&session, __LINE__, SWITCH_CAUSE_NORMAL_CLEARING);
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
|
@ -1299,6 +1298,7 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
|
|||
samples = frames * tech_pvt->read_codec.implementation->samples_per_frame;
|
||||
|
||||
if (switch_rtp_write_frame(tech_pvt->rtp_session, frame, samples) < 0) {
|
||||
terminate_session(&session, __LINE__, SWITCH_CAUSE_NORMAL_CLEARING);
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
tech_pvt->timestamp_send += (int) samples;
|
||||
|
|
Loading…
Reference in New Issue