]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove timestamp and raw_rtp flag from loopback frames
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 14 Oct 2013 18:06:41 +0000 (13:06 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 14 Oct 2013 18:06:41 +0000 (13:06 -0500)
src/mod/endpoints/mod_loopback/mod_loopback.c

index 41f58496558633966d21175970e5c438b4707140..c6cbfc89944062d1217f26466b81d49b63e76b09 100644 (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++;