| Lower layer | Selector | Value |
rtcp | packet_type | 203 (0xcb) (re-decodes this layer) |
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). |
source_count | uint(5) | | Number of items of ssrcs | Source count: SDES chunks or BYE identifiers (Auto). |
packet_type | enum(8) | 203 (bye) | | 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). |
ssrcs | list<uint(32)> — source_count items | 1 items | | SSRC / CSRC identifiers leaving the session. |
reason | list<struct> — up to offset length * 4 + 4 of the group | [] | | Optional reason for leaving: length (Auto), text, padding to 32 bits. |
| 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 |
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
length | uint(8) | | Size of text in octets | |
text | bytes — length octets | | | |
padding | padding(4) | | | |
The next layer is selected by version; when the field is Auto the builder writes the value of the protocol stacked above.
| Value | Protocol | Note |
| 2 | rtcp | at least 4 octets remaining |
| 2 | rtcp_sr | at least 4 octets remaining |
| 2 | rtcp_rr | at least 4 octets remaining |
| 2 | rtcp_sdes | at least 4 octets remaining |
| 2 | rtcp_bye | at least 4 octets remaining |
| 2 | rtcp_app | at least 4 octets remaining |
| Level | Rule |
| warning | version = 2 |
- rtcp-rr-bye —
templates/protocols/voip/rtcp-rr-bye.wpg.yaml