pjmedia RTP session status flags are overridden

KH
Karl Horvath
Fri, Apr 7, 2017 12:21 PM

Hi,

I’m using PJSIP version 2.6 and tried to check if the SSRC has changed of
the stream. But the RTP status flag badssrc was never set, because the
status and all prev. set flags are overridden by calling the function
pjmedia_rtp_seq_update() in pjmedia_rtp_session_update2(). I suppose this
behavior isn’t intended.

I fixed it with the attached patch.

br, Karl

Hi, I’m using PJSIP version 2.6 and tried to check if the SSRC has changed of the stream. But the RTP status flag badssrc was never set, because the status and all prev. set flags are overridden by calling the function pjmedia_rtp_seq_update() in pjmedia_rtp_session_update2(). I suppose this behavior isn’t intended. I fixed it with the attached patch. br, Karl