Ticket #1958 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months 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

Description

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 7 months 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.