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

Method Header

full_intra_request.go:90–96  ·  view source on GitHub ↗

Header returns the Header associated with this packet.

()

Source from the content-addressed store, hash-verified

88
89// Header returns the Header associated with this packet.
90func (p *FullIntraRequest) Header() Header {
91 return Header{
92 Count: FormatFIR,
93 Type: TypePayloadSpecificFeedback,
94 Length: uint16((p.MarshalSize() / 4) - 1), //nolint:gosec // G115
95 }
96}
97
98// MarshalSize returns the size of the packet once marshaled.
99func (p *FullIntraRequest) MarshalSize() int {

Callers 2

MarshalMethod · 0.95

Calls 1

MarshalSizeMethod · 0.95

Tested by 1