Opened 2 years ago

Closed 2 years ago

#1958 closed defect (fixed)

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 (1)

comment:1 Changed 2 years ago by ming

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

In 5434:

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

Note: See TracTickets for help on using tickets.