Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pion/rtcp
/ functions
Functions
264 in github.com/pion/rtcp
⨍
Functions
264
◇
Types & classes
57
↓ 34 callers
Method
Marshal
()
packet.go:12
↓ 21 callers
Method
Type
Type returns the ChunkType that this Chunk represents.
extended_report.go:215
↓ 17 callers
Method
Unmarshal
Unmarshal decodes the Header from binary.
header.go:124
↓ 15 callers
Method
Len
Len returns the length of the report in bytes.
rfc8888.go:117
↓ 11 callers
Function
wireSize
Returns the size that a structure will encode into. This fuction doesn't check that Write() will succeed, and may return unexpectedly large results fo
packet_buffer.go:235
↓ 10 callers
Method
read
Reads bytes from the buffer as necessary to populate the structure passed as a parameter. This function will modify the PacketBuffer.bytes slice to ex
packet_buffer.go:132
↓ 10 callers
Function
setNBitsOfUint16
setNBitsOfUint16 will truncate the value to size, left-shift to startIndex position and set.
util.go:16
↓ 9 callers
Function
Unmarshal
Unmarshal takes an entire udp datagram (which may consist of multiple RTCP packets) and returns the unmarshaled packets it contains. If this is a red
packet.go:23
↓ 9 callers
Function
getNBitsFromByte
getNBit get n bits from 1 byte, begin with a position.
util.go:33
↓ 7 callers
Function
NewCNAMESourceDescription
NewCNAMESourceDescription creates a new SourceDescription with a single CNAME item.
source_description.go:72
↓ 7 callers
Method
String
()
rfc8888.go:69
↓ 6 callers
Function
getPadding
getPadding Returns the padding required to make the length a multiple of 4.
util.go:7
↓ 6 callers
Method
len
len returns the length of the report block in bytes.
rfc8888.go:232
↓ 6 callers
Method
unmarshal
Unmarshal decodes the Congestion Control Feedback Report Block from binary.
rfc8888.go:285
↓ 5 callers
Method
Marshal
Marshal serializes the packet and returns a byte slice.
receiver_estimated_maximum_bitrate.go:27
↓ 5 callers
Method
Unmarshal
Unmarshal reads a REMB packet from the given byte slice. nolint:cyclop
receiver_estimated_maximum_bitrate.go:142
↓ 5 callers
Method
Validate
Validate returns an error if this is not an RFC-compliant CompoundPacket. nolint:cyclop
compound_packet.go:28
↓ 5 callers
Function
testNackPair
(t *testing.T, s []uint16, n NackPair)
transport_layer_nack_test.go:133
↓ 4 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
receiver_estimated_maximum_bitrate.go:46
↓ 4 callers
Method
Unmarshal
Unmarshal decodes the TransportLayerNack.
full_intra_request.go:53
↓ 4 callers
Method
marshal
marshal encodes the Congestion Control Feedback Report Block in binary.
rfc8888.go:260
↓ 4 callers
Method
unmarshal
Unmarshal decodes the Congestion Control Feedback Metric Block from binary.
rfc8888.go:356
↓ 4 callers
Method
write
Writes the structure passed to into the buffer that PacketBuffer is initialized with. This function will modify the PacketBuffer.bytes slice to exclud
packet_buffer.go:51
↓ 3 callers
Method
Marshal
()
transport_layer_cc.go:91
↓ 3 callers
Method
Marshal
Marshal encodes the Header in binary.
header.go:95
↓ 3 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
transport_layer_cc.go:385
↓ 3 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
goodbye.go:135
↓ 3 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
sender_report.go:234
↓ 3 callers
Method
Range
Range calls f sequentially for each sequence number covered by n. If f returns false, Range stops the iteration.
transport_layer_nack.go:67
↓ 3 callers
Method
Unmarshal
Unmarshal decodes the TransportLayerNack from binary.
transport_layer_nack.go:125
↓ 3 callers
Method
Unmarshal
Unmarshal decodes the PictureLossIndication from binary.
picture_loss_indication.go:54
↓ 3 callers
Method
Unmarshal
(rawPacket []byte)
transport_layer_cc.go:92
↓ 3 callers
Method
Unmarshal
Unmarshal ..
transport_layer_cc.go:218
↓ 3 callers
Method
Unmarshal
Unmarshal decodes the SourceDescription from binary.
source_description.go:131
↓ 3 callers
Method
Unmarshal
Unmarshal decodes the ReceiverReport from binary.
receiver_report.go:101
↓ 3 callers
Method
Unmarshal
Unmarshal decodes the SliceLossIndication from binary.
slice_loss_indication.go:65
↓ 3 callers
Method
Unmarshal
Unmarshal decodes the Goodbye packet from binary.
goodbye.go:69
↓ 3 callers
Method
Unmarshal
Unmarshal decodes the SenderReport from binary.
sender_report.go:135
↓ 3 callers
Function
realPacket
An RTCP packet from a packet dump.
packet_test.go:13
↓ 3 callers
Function
stringify
* Converts an RTCP Packet into a human-readable format. The Packets themselves can control the presentation as follows: - Fields of a type that hav
packet_stringifier.go:33
↓ 2 callers
Method
DestinationSSRC
DestinationSSRC returns an array of SSRC values that this packet refers to.
packet.go:10
↓ 2 callers
Method
Header
Header returns the Header associated with this packet.
full_intra_request.go:90
↓ 2 callers
Method
Header
Header returns the Header associated with this packet.
rfc8888.go:132
↓ 2 callers
Method
Len
Len returns the length of the SourceDescriptionItem when encoded as binary.
source_description.go:290
↓ 2 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
source_description.go:177
↓ 2 callers
Method
MarshalSize
()
packet.go:14
↓ 2 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
receiver_report.go:163
↓ 2 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
rfc8888.go:122
↓ 2 callers
Method
Unmarshal
Unmarshal parses the given raw packet into an application-defined struct, handling padding.
application_defined.go:68
↓ 2 callers
Method
Unmarshal
Unmarshal .. nolint:gocognit,cyclop
transport_layer_cc.go:464
↓ 2 callers
Method
Unmarshal
(rawPacket []byte)
packet.go:13
↓ 2 callers
Method
Unmarshal
Unmarshal decodes the RapidResynchronizationRequest from binary.
rapid_resynchronization_request.go:55
↓ 2 callers
Method
Unmarshal
Unmarshal decodes the ReceptionReport from binary.
reception_report.go:94
↓ 2 callers
Method
Value
Value returns the value represented in this Chunk.
extended_report.go:234
↓ 2 callers
Function
appendNBitsToUint32
appendBit32 will left-shift and append n bits of val.
util.go:28
↓ 2 callers
Function
encodedPacket
()
extended_report_test.go:136
↓ 2 callers
Method
len
()
source_description.go:266
↓ 2 callers
Method
packetLen
Header returns the Header associated with this packet. func (t *TransportLayerCC) Header() Header { return t.Header return Header{ Padding: true, Coun
transport_layer_cc.go:365
↓ 2 callers
Method
setupBlockHeader
()
extended_report.go:36
↓ 2 callers
Function
testPacket
()
extended_report_test.go:28
↓ 2 callers
Function
tooManyReports
()
receiver_report_test.go:169
↓ 2 callers
Function
unmarshal
unmarshal is a factory which pulls the first RTCP packet from a bytestream, and returns it's parsed representation, and the amount of data that was pr
packet.go:63
↓ 1 callers
Method
CNAME
CNAME returns the CNAME that *must* be present in every CompoundPacket.
compound_packet.go:78
↓ 1 callers
Method
DestinationSSRC
DestinationSSRC returns the SSRC value for this packet.
application_defined.go:19
↓ 1 callers
Method
DestinationSSRC
()
extended_report.go:35
↓ 1 callers
Method
DestinationSSRC
DestinationSSRC returns an array of SSRC values that this packet refers to.
sender_report.go:223
↓ 1 callers
Method
Header
Header returns the Header associated with this packet.
transport_layer_nack.go:166
↓ 1 callers
Method
Header
Header returns the Header associated with this packet.
picture_loss_indication.go:75
↓ 1 callers
Method
Header
Header returns the Header associated with this packet.
source_description.go:187
↓ 1 callers
Method
Header
Header returns the Header associated with this packet.
receiver_report.go:173
↓ 1 callers
Method
Header
Header returns the Header associated with this packet.
slice_loss_indication.go:103
↓ 1 callers
Method
Header
Header returns the Header associated with this packet.
rapid_resynchronization_request.go:81
↓ 1 callers
Method
Header
Header returns the Header associated with this packet.
goodbye.go:125
↓ 1 callers
Method
Header
Header returns the Header associated with this packet.
sender_report.go:244
↓ 1 callers
Function
Marshal
Marshal takes an array of Packets and serializes them to a single buffer.
packet.go:46
↓ 1 callers
Method
Marshal
Marshal encodes the SourceDescription in binary.
source_description.go:85
↓ 1 callers
Method
Marshal
Marshal encodes the Goodbye packet in binary.
goodbye.go:21
↓ 1 callers
Method
Marshal
Marshal encodes the CompoundPacket as binary.
compound_packet.go:107
↓ 1 callers
Method
Marshal
Marshal encodes the SenderReport in binary.
sender_report.go:61
↓ 1 callers
Method
Marshal
Marshal encodes the Congestion Control Feedback Report in binary.
rfc8888.go:142
↓ 1 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
application_defined.go:114
↓ 1 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
transport_layer_nack.go:161
↓ 1 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
picture_loss_indication.go:84
↓ 1 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
slice_loss_indication.go:98
↓ 1 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
rapid_resynchronization_request.go:76
↓ 1 callers
Method
MarshalSize
MarshalSize returns the size of the packet once marshaled.
full_intra_request.go:99
↓ 1 callers
Method
MarshalTo
MarshalTo serializes the packet to the given byte slice.
receiver_estimated_maximum_bitrate.go:51
↓ 1 callers
Function
NackPairsFromSequenceNumbers
NackPairsFromSequenceNumbers generates a slice of NackPair from a list of SequenceNumbers This handles generating the proper values for PacketID/LostP
transport_layer_nack.go:42
↓ 1 callers
Method
PacketList
PacketList returns a list of Nack'd packets that's referenced by a NackPair.
transport_layer_nack.go:86
↓ 1 callers
Method
RunType
RunType returns the RunType that this Chunk represents. It is only valid if ChunkType is RunLengthChunkType.
extended_report.go:225
↓ 1 callers
Method
String
nolint:cyclop
source_description.go:31
↓ 1 callers
Method
Unmarshal
Unmarshal ..
transport_layer_cc.go:144
↓ 1 callers
Method
Unmarshal
Unmarshal ..
transport_layer_cc.go:292
↓ 1 callers
Method
Unmarshal
Unmarshal decodes the SourceDescriptionChunk from binary.
source_description.go:234
↓ 1 callers
Method
Unmarshal
Unmarshal decodes the SourceDescriptionItem from binary.
source_description.go:332
↓ 1 callers
Method
Unmarshal
Unmarshal decodes the packet from binary.
raw_packet.go:18
↓ 1 callers
Method
Unmarshal
Unmarshal decodes a CompoundPacket from binary.
compound_packet.go:128
↓ 1 callers
Method
Unmarshal
Unmarshal decodes the Congestion Control Feedback Report from binary.
rfc8888.go:182
↓ 1 callers
Function
formatField
nolint:gocognit,cyclop
packet_stringifier.go:40
↓ 1 callers
Function
get24BitsFromBytes
get24BitFromBytes get 24bits from `[3]byte` slice.
util.go:41
next →
1–100 of 264, ranked by callers