Module: sems Branch: master Commit: 60f94cc9fb72327c04185233028ecd44888053fc URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=60f94cc9fb72327c04185233028ecd44888053fc
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Thu Nov 6 16:24:31 2014 +0100 b/f:core: when resuming RTP stream, also clear rtp events queue --- core/AmRtpStream.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp index 4cf0254..131c0ae 100644 --- a/core/AmRtpStream.cpp +++ b/core/AmRtpStream.cpp @@ -788,6 +788,8 @@ void AmRtpStream::resume() receive_mut.lock(); mem.clear(); receive_buf.clear(); + while (!rtp_ev_qu.empty()) + rtp_ev_qu.pop(); receive_mut.unlock(); receiving = true; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
