Ticket #1958 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Update RTP sequence number during keep-alive

Reported by: ming Owned by: nanang
Priority: normal Milestone: release-2.6
Component: pjmedia Version: trunk
Keywords: Cc:
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.

Change History

comment:1 Changed 2 years ago by ming

  • Status changed from new to closed
  • Resolution set to fixed

In 5434:

Fixed #1958: Update RTP sequence number during keep-alive

Note: See TracTickets for help on using tickets.