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

Struct Header

header.go:69–81  ·  view source on GitHub ↗

A Header is the common header shared by all RTCP packets.

Source from the content-addressed store, hash-verified

67
68// A Header is the common header shared by all RTCP packets.
69type Header struct {
70 // If the padding bit is set, this individual RTCP packet contains
71 // some additional padding octets at the end which are not part of
72 // the control information but are included in the length field.
73 Padding bool
74 // The number of reception reports, sources contained or FMT in this packet (depending on the Type)
75 Count uint8
76 // The RTCP packet type for this packet
77 Type PacketType
78 // The length of this RTCP packet in 32-bit words minus one,
79 // including the header and any padding.
80 Length uint16
81}
82
83const (
84 headerLength = 4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected