Ticket #1958 (closed defect: fixed)
Update RTP sequence number during keep-alive
|Reported by:||ming||Owned by:||nanang|
|Backport to 1.x milestone:||Backported:||no|
If stream keep-alive is enabled and it uses empty RTP as the keep-alive mechanism (PJMEDIA_STREAM_ENABLE_KA == PJMEDIA_STREAM_KA_EMPTY_RTP), the RTP sequence may be out of sync when the media is paused and the keep-alive keeps running. This may cause the receiver (such as SRTP module) to reject the RTP packets after media is resumed. Thus, we need to update the RTCP stats when sending keep-alive as well.
Thanks to Viktor Krykun for the report.