MCPcopy Create free account

hub / github.com/pion/rtp / functions

Functions125 in github.com/pion/rtp

↓ 19 callersMethodGetExtension
GetExtension returns an RTP header extension
packet.go:424
↓ 15 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the Packet.
packet.go:208
↓ 12 callersMethodSetExtension
SetExtension sets an RTP header extension
packet.go:356
↓ 12 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the VP8Packet this method is called upon
codecs/vp8_packet.go:127
↓ 10 callersMethodMarshal
Marshal serializes the packet into bytes.
packet.go:451
↓ 10 callersMethodPayload
Payload fragments a H264 packet across one or more byte arrays
codecs/h264_packet.go:64
↓ 10 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the H264Packet this method is called upon
codecs/h264_packet.go:175
↓ 9 callersFunctionmin
(a, b int)
codecs/common.go:3
↓ 8 callersMethodIsPartitionHead
IsPartitionHead checks if this is the head of a packetized nalu stream.
codecs/h264_packet.go:236
↓ 7 callersMethodPayload
Payload fragments an G722 packet across one or more byte arrays
codecs/g722_packet.go:7
↓ 7 callersMethodPayload
Payload fragments an G711 packet across one or more byte arrays
codecs/g711_packet.go:7
↓ 5 callersFunctiontoTime
(t uint64)
abssendtimeextension.go:69
↓ 4 callersMethodMarshalSize
MarshalSize returns the size of the header once marshaled.
packet.go:326
↓ 4 callersMethodPayload
Payload fragments a VP8 packet across one or more byte arrays
codecs/vp8_packet.go:14
↓ 4 callersMethodPayload
Payload fragments an Opus packet across one or more byte arrays
codecs/opus_packet.go:7
↓ 4 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the OpusPacket this method is called upon
codecs/opus_packet.go:29
↓ 3 callersMethodDelExtension
DelExtension Removes an RTP Header extension
packet.go:437
↓ 3 callersMethodIsPartitionHead
IsPartitionHead checks whether if this is a head of the VP8 partition
codecs/vp8_packet.go:200
↓ 3 callersMethodIsPartitionHead
IsPartitionHead checks whether if this is a head of the VP9 partition
codecs/vp9_packet.go:385
↓ 3 callersMethodMarshal
Marshal serializes the members to buffer
audiolevelextension.go:39
↓ 3 callersMethodMarshalTo
MarshalTo serializes the packet and writes to the buffer.
packet.go:463
↓ 3 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the members
transportccextension.go:33
↓ 3 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the members
audiolevelextension.go:53
↓ 3 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the VP9Packet this method is called upon
codecs/vp9_packet.go:159
↓ 3 callersMethoddoPackaging
(nalu []byte)
codecs/h264_packet.go:158
↓ 3 callersFunctiontoNtpTime
(t time.Time)
abssendtimeextension.go:55
↓ 2 callersMethodGetExtensionIDs
GetExtensionIDs returns an extension id array
packet.go:407
↓ 2 callersMethodIsPartitionHead
IsPartitionHead checks whether if this is a head of the Opus partition
codecs/opus_packet.go:44
↓ 2 callersMethodMarshal
Marshal serializes the members to buffer.
abssendtimeextension.go:18
↓ 2 callersMethodMarshalSize
MarshalSize returns the size of the packet once marshaled.
packet.go:480
↓ 2 callersMethodMarshalTo
MarshalTo serializes the header and writes to the buffer.
packet.go:229
↓ 2 callersFunctionNewPacketizer
NewPacketizer returns a new instance of a Packetizer for a specific payloader
packetizer.go:34
↓ 2 callersMethodPacketize
(payload []byte, samples uint32)
packetizer.go:14
↓ 2 callersMethodPayload
Payload fragments an VP9 packet across one or more byte arrays
codecs/vp9_packet.go:26
↓ 2 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the members.
abssendtimeextension.go:27
↓ 1 callersMethodEnableAbsSendTime
(value int)
packetizer.go:15
↓ 1 callersMethodEstimate
Estimate absolute send time according to the receive time. Note that if the transmission delay is larger than 64 seconds, estimated time will be wrong
abssendtimeextension.go:37
↓ 1 callersMethodMarshal
Marshal serializes the header into bytes.
packet.go:218
↓ 1 callersMethodMarshal
Marshal serializes the members to buffer
transportccextension.go:26
↓ 1 callersFunctionNewAbsSendTimeExtension
NewAbsSendTimeExtension makes new AbsSendTimeExtension from time.Time.
abssendtimeextension.go:49
↓ 1 callersFunctionNewFixedSequencer
NewFixedSequencer returns a new sequencer starting from a specific sequence number
sequencer.go:24
↓ 1 callersFunctionNewRandomSequencer
NewRandomSequencer returns a new sequencer starting from a random sequence number
sequencer.go:16
↓ 1 callersMethodNextSequenceNumber
()
sequencer.go:10
↓ 1 callersMethodPayload
(mtu int, payload []byte)
packetizer.go:9
↓ 1 callersMethodUnmarshal
(packet []byte)
depacketizer.go:6
↓ 1 callersMethodUnmarshal
Unmarshal parses the passed byte slice and stores the result in the Header. It returns the number of bytes read n and any error.
packet.go:78
↓ 1 callersFunctionannexbNALUStartCode
()
codecs/h264_packet.go:26
↓ 1 callersFunctionemitNalus
(nals []byte, emit func([]byte))
codecs/h264_packet.go:28
↓ 1 callersMethodparseLayerInfo
(packet []byte, pos int)
codecs/vp9_packet.go:235
↓ 1 callersMethodparseLayerInfoCommon
Layer indices (flexible mode): +-+-+-+-+-+-+-+-+ L: | T |U| S |D| +-+-+-+-+-+-+-+-+
codecs/vp9_packet.go:254
↓ 1 callersMethodparseLayerInfoNonFlexibleMode
Layer indices (non-flexible mode): +-+-+-+-+-+-+-+-+ L: | T |U| S |D| +-+-+-+-+-+-+-+-+ | TL0PICIDX | +-+-+-+-+-+-+-+-+
codecs/vp9_packet.go:280
↓ 1 callersMethodparsePictureID
Picture ID: +-+-+-+-+-+-+-+-+ I: |M| PICTURE ID | M:0 => picture id is 7 bits. +-+-+-+-+-+-+-+-+ M:1 => picture id is 15 bits. M: | EXTENDED
codecs/vp9_packet.go:218
↓ 1 callersMethodparseRefIndices
Reference indices: +-+-+-+-+-+-+-+-+ P=1,F=1: At least one reference index P,F: | P_DIFF |N| up to 3 times has to be sp
codecs/vp9_packet.go:297
↓ 1 callersMethodparseSSData
Scalability structure (SS): +-+-+-+-+-+-+-+-+ V: | N_S |Y|G|-|-|-| +-+-+-+-+-+-+-+-+ -| Y: | WIDTH | (OPTIONAL) . +
codecs/vp9_packet.go:336
FunctionBenchmarkMarshal
(b *testing.B)
packet_test.go:1141
FunctionBenchmarkMarshalTo
(b *testing.B)
packet_test.go:1163
FunctionBenchmarkUnmarshal
(b *testing.B)
packet_test.go:1188
MethodEnableAbsSendTime
(value int)
packetizer.go:47
MethodIsDetectedFinalPacketInSequence
(rtpPacketMarketBit bool)
depacketizer.go:5
MethodIsDetectedFinalPacketInSequence
IsDetectedFinalPacketInSequence returns true of the packet passed in has the marker bit set indicated the end of a packet sequence
codecs/h264_packet.go:170
MethodIsDetectedFinalPacketInSequence
IsDetectedFinalPacketInSequence returns true of the packet passed in has the marker bit set indicated the end of a packet sequence
codecs/vp8_packet.go:122
MethodIsDetectedFinalPacketInSequence
IsDetectedFinalPacketInSequence returns true of the packet passed in has the marker bit set indicated the end of a packet sequence
codecs/vp9_packet.go:154
MethodIsDetectedFinalPacketInSequence
IsDetectedFinalPacketInSequence returns true as all opus packets are always final in a sequence
codecs/opus_packet.go:24
MethodIsPartitionHead
([]byte)
partitionheadchecker.go:5
MethodNextSequenceNumber
NextSequenceNumber increment and returns a new sequence number for building RTP packets
sequencer.go:38
MethodPacketize
Packetize packetizes the payload of an RTP packet and returns one or more RTP packets
packetizer.go:52
MethodRollOverCount
()
sequencer.go:11
MethodRollOverCount
RollOverCount returns the amount of times the 16bit sequence number has wrapped
sequencer.go:52
MethodSkipSamples
(skippedSamples uint32)
packetizer.go:16
MethodSkipSamples
SkipSamples causes a gap in sample count between Packetize requests so the RTP payloads produced have a gap in timestamps
packetizer.go:96
MethodString
String helps with debugging by printing packet information in a readable way
packet.go:62
FunctionTestAbsSendTimeExtension_Estimate
(t *testing.T)
abssendtimeextension_test.go:65
FunctionTestAbsSendTimeExtension_Roundtrip
(t *testing.T)
abssendtimeextension_test.go:41
FunctionTestAudioLevelExtensionLevelOverflow
(t *testing.T)
audiolevelextension_test.go:71
FunctionTestAudioLevelExtensionTooSmall
(t *testing.T)
audiolevelextension_test.go:9
FunctionTestAudioLevelExtensionVoiceFalse
(t *testing.T)
audiolevelextension_test.go:45
FunctionTestAudioLevelExtensionVoiceTrue
(t *testing.T)
audiolevelextension_test.go:19
FunctionTestBasic
(t *testing.T)
packet_test.go:12
FunctionTestCommon_Min
(t *testing.T)
codecs/common_test.go:7
FunctionTestExtension
(t *testing.T)
packet_test.go:68
FunctionTestG711Payloader
(t *testing.T)
codecs/g711_packet_test.go:10
FunctionTestG722Payloader
(t *testing.T)
codecs/g722_packet_test.go:10
FunctionTestH264Packet_Unmarshal
(t *testing.T)
codecs/h264_packet_test.go:91
FunctionTestH264PartitionHeadChecker_IsPartitionHead
(t *testing.T)
codecs/h264_packet_test.go:183
FunctionTestH264Payloader_Payload
(t *testing.T)
codecs/h264_packet_test.go:8
FunctionTestNtpConversion
(t *testing.T)
abssendtimeextension_test.go:10
FunctionTestOpusPacket_Unmarshal
(t *testing.T)
codecs/opus_packet_test.go:8
FunctionTestOpusPartitionHeadChecker_IsPartitionHead
(t *testing.T)
codecs/opus_packet_test.go:68
FunctionTestOpusPayloader_Payload
(t *testing.T)
codecs/opus_packet_test.go:39
FunctionTestPacketizer
(t *testing.T)
packetizer_test.go:12
FunctionTestPacketizer_AbsSendTime
(t *testing.T)
packetizer_test.go:27
FunctionTestRFC3550SetExtensionShouldErrorWhenNonZero
(t *testing.T)
packet_test.go:987
FunctionTestRFC3550SetExtensionShouldRaiseErrorWhenSettingNonzeroID
(t *testing.T)
packet_test.go:1023
FunctionTestRFC8285DelExtension
(t *testing.T)
packet_test.go:495
FunctionTestRFC8285DelExtensionReturnsErrorWhenExtensionsDisabled
(t *testing.T)
packet_test.go:610
FunctionTestRFC8285GetExtensionIDs
(t *testing.T)
packet_test.go:541
FunctionTestRFC8285GetExtensionIDsReturnsErrorWhenExtensionsDisabled
(t *testing.T)
packet_test.go:585
FunctionTestRFC8285GetExtensionReturnsNilWhenExtensionsDisabled
(t *testing.T)
packet_test.go:470
FunctionTestRFC8285OneByteExtension
(t *testing.T)
packet_test.go:104
FunctionTestRFC8285OneByteExtensionTermianteProcessingWhenReservedIDEncountered
(t *testing.T)
packet_test.go:786
next →1–100 of 125, ranked by callers