From: Anthony Minessale Date: Mon, 14 Oct 2013 18:06:41 +0000 (-0500) Subject: remove timestamp and raw_rtp flag from loopback frames X-Git-Tag: v1.4.1~11^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323d4c73d1d0b4b3ccb8b4f47808f43b160e1cd3;p=thirdparty%2Ffreeswitch.git remove timestamp and raw_rtp flag from loopback frames --- diff --git a/src/mod/endpoints/mod_loopback/mod_loopback.c b/src/mod/endpoints/mod_loopback/mod_loopback.c index 41f5849655..c6cbfc8994 100644 --- a/src/mod/endpoints/mod_loopback/mod_loopback.c +++ b/src/mod/endpoints/mod_loopback/mod_loopback.c @@ -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++;