mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10447 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -757,9 +757,12 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f
|
||||
tech_pvt->read_codec.implementation->samples_per_packet;
|
||||
}
|
||||
|
||||
switch_rtp_change_interval(tech_pvt->rtp_session,
|
||||
tech_pvt->read_codec.implementation->samples_per_packet,
|
||||
tech_pvt->codec_ms * 1000);
|
||||
if (switch_rtp_change_interval(tech_pvt->rtp_session,
|
||||
tech_pvt->read_codec.implementation->samples_per_packet,
|
||||
tech_pvt->codec_ms * 1000) != SWITCH_STATUS_SUCCESS) {
|
||||
switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
|
||||
|
||||
}
|
||||
|
||||
tech_pvt->check_frames = MAX_CODEC_CHECK_FRAMES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user