MCPcopy Create free account
hub / github.com/pion/rtp / Header

Struct Header

packet.go:16–28  ·  view source on GitHub ↗

Header represents an RTP packet header

Source from the content-addressed store, hash-verified

14
15// Header represents an RTP packet header
16type Header struct {
17 Version uint8
18 Padding bool
19 Extension bool
20 Marker bool
21 PayloadType uint8
22 SequenceNumber uint16
23 Timestamp uint32
24 SSRC uint32
25 CSRC []uint32
26 ExtensionProfile uint16
27 Extensions []Extension
28}
29
30// Packet represents an RTP Packet
31type Packet struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected