remove timestamp and raw_rtp flag from loopback frames

This commit is contained in:
Anthony Minessale 2013-10-14 13:06:41 -05:00
parent e7287f901f
commit 323d4c73d1
1 changed files with 4 additions and 0 deletions

View File

@ -709,6 +709,10 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
}
tech_pvt->write_frame = (switch_frame_t *) pop;
switch_clear_flag(tech_pvt->write_frame, SFF_RAW_RTP);
tech_pvt->write_frame->timestamp = 0;
tech_pvt->write_frame->codec = &tech_pvt->read_codec;
*frame = tech_pvt->write_frame;
tech_pvt->packet_count++;