| Lower layer | Selector | Value |
udp | dst_port / src_port | 5005 (0x138d) |
rtcp | packet_type | 0 (0x00) – 255 (0xff) (at least 4 octets remaining) |
rtcp_sr | version | 2 (at least 4 octets remaining) |
rtcp_rr | version | 2 (at least 4 octets remaining) |
rtcp_sdes | version | 2 (at least 4 octets remaining) |
rtcp_bye | version | 2 (at least 4 octets remaining) |
rtcp_app | version | 2 (at least 4 octets remaining) |
| Field | Type | Default | Auto | Description |
version | uint(2) | 2 | | RTCP version (2). |
padding | uint(1) | 0 | | P bit: padding octets at the end of the packet (Manual). |
count | uint(5) | 0 | | Count / format field (5 bits) of a packet type that is not typed. |
packet_type | enum(8) | 205 (rtpfb) | | Packet type (200 SR, 201 RR, 202 SDES, 203 BYE, 204 APP, 205 RTPFB, 206 PSFB, 207 XR). |
length | uint(16) | | Length of the header in 32-bit words (-1) | Packet length in 32-bit words minus one (Auto). |
body | bytes — up to offset length * 4 + 4 of the group | 12 34 56 78 00 00 00 00 | | Packet body after the common header, as octets. |
| Value | Name |
| 200 (0xc8) | sr |
| 201 (0xc9) | rr |
| 202 (0xca) | sdes |
| 203 (0xcb) | bye |
| 204 (0xcc) | app |
| 205 (0xcd) | rtpfb |
| 206 (0xce) | psfb |
| 207 (0xcf) | xr |
The next layer is selected by packet_type; when the field is Auto the builder writes the value of the protocol stacked above.
| Value | Protocol | Note |
| 200 (0xc8) | rtcp_sr | re-decodes this layer |
| 201 (0xc9) | rtcp_rr | re-decodes this layer |
| 202 (0xca) | rtcp_sdes | re-decodes this layer |
| 203 (0xcb) | rtcp_bye | re-decodes this layer |
| 204 (0xcc) | rtcp_app | re-decodes this layer |
| 0 (0x00) – 255 (0xff) | rtcp | at least 4 octets remaining |
| 0 (0x00) – 255 (0xff) | rtcp_sr | at least 4 octets remaining |
| 0 (0x00) – 255 (0xff) | rtcp_rr | at least 4 octets remaining |
| 0 (0x00) – 255 (0xff) | rtcp_sdes | at least 4 octets remaining |
| 0 (0x00) – 255 (0xff) | rtcp_bye | at least 4 octets remaining |
| 0 (0x00) – 255 (0xff) | rtcp_app | at least 4 octets remaining |
| Level | Rule |
| warning | version = 2 |