scapy.layers.rtp

RTP (Real-time Transport Protocol).

class scapy.layers.rtp.RTP

Bases: scapy.packet.Packet

aliastypes
fields_desc
RTP fields

version

BitField (2 bits)

2

padding

BitField (1 bit)

0

extension

BitField (1 bit)

0

numsync

BitFieldLenField (4 bits)

None

marker

BitField (1 bit)

0

payload_type

BitEnumField (7 bits)

0

sequence

ShortField

0

timestamp

IntField

0

sourcesync

IntField

0

sync

FieldListField

[]

payload_guess

Possible sublayers: RTPExtension

class scapy.layers.rtp.RTPExtension

Bases: scapy.packet.Packet

aliastypes
fields_desc
RTPExtension fields

header_id

ShortField

0

header_len

FieldLenField

None

header

FieldListField

[]