scapy.layers.rtp

RTP(实时传输协议).

class scapy.layers.rtp.RTP

Bases: scapy.packet.Packet

aliastypes
fields_desc
RTP字段

version

BitField (2位)

2

padding

BitField (1位)

0

extension

BitField (1位)

0

numsync

BitFieldLenField (4位)

None

marker

BitField (1位)

0

payload_type

BitEnumField (7位)

0

sequence

ShortField

0

timestamp

IntField

0

sourcesync

IntField

0

sync

FieldListField

[]

payload_guess

可能的子层: RTPExtension

class scapy.layers.rtp.RTPExtension

Bases: scapy.packet.Packet

aliastypes
fields_desc
RTPExtension字段

header_id

ShortField

0

header_len

FieldLenField

None

header

FieldListField

[]