SIP Fundamentals

RTP and RTCP

RTP (RFC 3550) carries the actual audio/video payload between endpoints. RTCP is the companion protocol that reports stats (packet loss, jitter, round-trip time) on the same media stream. Both run on UDP, traditionally on ports 16384-32767.

RTP header anatomy

RTCP

RTCP runs on RTP_port+1 (or muxed via a=rtcp-mux). It carries:

Use RTCP RR to diagnose call quality. If jitter > 30ms or loss > 2%, audio quality degrades.

SRTP

SRTP (RFC 3711) is RTP encrypted with AES-CTR and authenticated with HMAC-SHA1. Keys come from DTLS-SRTP (modern) or SDES (legacy). Visible on the wire as UDP/TLS/RTP/SAVP in SDP.

Related terms

Ready to get a number?

Pick a DID in 130+ countries from $1.99/month. Activates instantly on most numbers.