Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RTCP (rtcp)

Reached from

Lower layerSelectorValue
udpdst_port / src_port5005 (0x138d)
rtcppacket_type0 (0x00) – 255 (0xff) (at least 4 octets remaining)
rtcp_srversion2 (at least 4 octets remaining)
rtcp_rrversion2 (at least 4 octets remaining)
rtcp_sdesversion2 (at least 4 octets remaining)
rtcp_byeversion2 (at least 4 octets remaining)
rtcp_appversion2 (at least 4 octets remaining)

Fields

FieldTypeDefaultAutoDescription
versionuint(2)2RTCP version (2).
paddinguint(1)0P bit: padding octets at the end of the packet (Manual).
countuint(5)0Count / format field (5 bits) of a packet type that is not typed.
packet_typeenum(8)205 (rtpfb)Packet type (200 SR, 201 RR, 202 SDES, 203 BYE, 204 APP, 205 RTPFB, 206 PSFB, 207 XR).
lengthuint(16)Length of the header in 32-bit words (-1)Packet length in 32-bit words minus one (Auto).
bodybytes — up to offset length * 4 + 4 of the group12 34 56 78 00 00 00 00Packet body after the common header, as octets.

packet_type

ValueName
200 (0xc8)sr
201 (0xc9)rr
202 (0xca)sdes
203 (0xcb)bye
204 (0xcc)app
205 (0xcd)rtpfb
206 (0xce)psfb
207 (0xcf)xr

Next layer

The next layer is selected by packet_type; when the field is Auto the builder writes the value of the protocol stacked above.

ValueProtocolNote
200 (0xc8)rtcp_srre-decodes this layer
201 (0xc9)rtcp_rrre-decodes this layer
202 (0xca)rtcp_sdesre-decodes this layer
203 (0xcb)rtcp_byere-decodes this layer
204 (0xcc)rtcp_appre-decodes this layer
0 (0x00) – 255 (0xff)rtcpat least 4 octets remaining
0 (0x00) – 255 (0xff)rtcp_srat least 4 octets remaining
0 (0x00) – 255 (0xff)rtcp_rrat least 4 octets remaining
0 (0x00) – 255 (0xff)rtcp_sdesat least 4 octets remaining
0 (0x00) – 255 (0xff)rtcp_byeat least 4 octets remaining
0 (0x00) – 255 (0xff)rtcp_appat least 4 octets remaining

Constraints

LevelRule
warningversion = 2

Sample templates