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

Interface Packet

packet.go:8–15  ·  view source on GitHub ↗

Packet represents an RTCP packet, a protocol used for out-of-band statistics and control information for an RTP session.

Source from the content-addressed store, hash-verified

6// Packet represents an RTCP packet, a protocol used for out-of-band statistics
7// and control information for an RTP session.
8type Packet interface {
9 // DestinationSSRC returns an array of SSRC values that this packet refers to.
10 DestinationSSRC() []uint32
11
12 Marshal() ([]byte, error)
13 Unmarshal(rawPacket []byte) error
14 MarshalSize() int
15}
16
17// Unmarshal takes an entire udp datagram (which may consist of multiple RTCP packets) and
18// returns the unmarshaled packets it contains.

Callers 14

TestDecodeFunction · 0.65
DestinationSSRCMethod · 0.65
MarshalMethod · 0.65
TestHeaderRoundTripFunction · 0.65
TestDecodeFunction · 0.65
unmarshalFunction · 0.65

Implementers 14

ApplicationDefinedapplication_defined.go
TransportLayerNacktransport_layer_nack.go
PictureLossIndicationpicture_loss_indication.go
ExtendedReportextended_report.go
TransportLayerCCtransport_layer_cc.go
SourceDescriptionsource_description.go
ReceiverEstimatedMaximumBitratereceiver_estimated_maximum_bitrate.go
ReceiverReportreceiver_report.go
SliceLossIndicationslice_loss_indication.go
RapidResynchronizationRequestrapid_resynchronization_request.go
Goodbyegoodbye.go
FullIntraRequestfull_intra_request.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…