提交 323d4c73 authored 作者: Anthony Minessale's avatar Anthony Minessale

remove timestamp and raw_rtp flag from loopback frames

上级 e7287f90
......@@ -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++;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论