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 SDES (rtcp_sdes)

Reached from

Lower layerSelectorValue
rtcppacket_type202 (0xca) (re-decodes this layer)
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).
source_countuint(5)Number of items of chunksSource count: SDES chunks or BYE identifiers (Auto).
packet_typeenum(8)202 (sdes)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).
chunkslist<struct> — source_count items1 itemsSDES chunks: SSRC / CSRC and its items (type, length (Auto), text), ended by a null octet and padded to 32 bits.

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

chunks

Each item is a group of the fields below.

FieldTypeDefaultAutoDescription
ssrcuint(32)305419896
itemslist<struct> — up to the terminator 00 (appended when building)
paddingpadding(4)

chunks › items

Each item is a group of the fields below.

FieldTypeDefaultAutoDescription
typeenum(8)1 (cname)
lengthuint(8)Size of text in octets
textbytes — length octets
chunks › items › type
ValueName
1 (0x01)cname
2 (0x02)name
3 (0x03)email
4 (0x04)phone
5 (0x05)loc
6 (0x06)tool
7 (0x07)note
8 (0x08)priv

Next layer

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

ValueProtocolNote
2rtcpat least 4 octets remaining
2rtcp_srat least 4 octets remaining
2rtcp_rrat least 4 octets remaining
2rtcp_sdesat least 4 octets remaining
2rtcp_byeat least 4 octets remaining
2rtcp_appat least 4 octets remaining

Constraints

LevelRule
warningversion = 2

Sample templates

  • rtcp-rr-bye — templates/protocols/voip/rtcp-rr-bye.wpg.yaml
  • rtcp-sr-sdes — templates/protocols/voip/rtcp-sr-sdes.wpg.yaml