Ticket #2124 (new defect)

Opened 3 months ago

Last modified 3 months ago

Separate DTLS-SRTP negotiation for RTP and RTCP

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-2.9
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by nanang) (diff)

https://tools.ietf.org/html/rfc5764#section-3

   RTP and RTCP traffic is usually sent on two separate UDP ports.  When
   symmetric RTP [RFC4961] is used, two bidirectional DTLS-SRTP sessions
   are needed, one for the RTP port, one for the RTCP port.  When RTP
   flows are not symmetric, four unidirectional DTLS-SRTP sessions are
   needed (for inbound and outbound RTP, and inbound and outbound RTCP).

Currently PJMEDIA only does DTLS-SRTP negotiation for RTP, and there is a report that it may cause no audio issue both ways when communicating with WebRTC (packet capture shows only outgoing RTP traffics).

Thanks Joe Thomas for the report.

Change History

comment:1 Changed 3 months ago by nanang

  • Description modified (diff)
Note: See TracTickets for help on using tickets.