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

RTP (rtp)

Reached from

Lower layerSelectorValue
udpdst_port / src_port5004 (0x138c)

Fields

FieldTypeDefaultAutoDescription
versionuint(2)2RTP version (2).
paddinguint(1)0P bit: padding octets at the end of the payload (the last one is their count, Manual).
xuint(1)Number of items of header_extensionX bit: a header extension follows the CSRC list (Auto).
ccuint(4)Number of items of csrcCSRC count (Auto).
markeruint(1)0Marker bit (profile-defined, e.g. the start of a talkspurt).
payload_typeenum(7)0 (pcmu)Payload type (0 PCMU, 8 PCMA, 9 G.722, 18 G.729, 96-127 dynamic).
sequence_numberuint(16)1Sequence number, incremented by one per RTP packet.
timestampuint(32)0Timestamp: sampling instant of the first payload octet.
ssrcuint(32)305419896Synchronization source identifier.
csrclist<uint(32)> — cc items[]Contributing source identifiers (up to 15).
header_extensionlist<struct> — x items[]Header extension: profile-defined 16 bits (0xBEDE: RFC 8285 one-byte elements), the length in 32-bit words (Auto) and the extension words.

payload_type

ValueName
0pcmu
3gsm
4g723
8pcma
9g722
13cn
18g729
96dynamic_96
101telephone_event

header_extension

Each item is a group of the fields below.

FieldTypeDefaultAutoDescription
profileuint(16)48862
lengthuint(16)Number of items of data
datalist<uint(32)> — length * 4 octets

Constraints

LevelRule
warningversion = 2

Sample templates

  • rtp-pcmu — templates/protocols/voip/rtp-pcmu.wpg.yaml