package util

Import Path
	github.com/pion/interceptor/pkg/flexfec/util (on go.dev)

Dependency Relation
	imports one package, and imported by one package

Involved Source Files Package util implements utilities to better support Fec decoding / encoding. media_packet_iterator.go
Package-Level Type Names (total 2)
/* sort by: | */
BitArray provides support for bitmask manipulations. // rightmost 64 bits // leftmost 64 bits GetBit returns the bit value at a specified index of the bitmask. Reset clears the bitmask. SetBit sets a bit to the specified bit value on the bitmask.
MediaPacketIterator supports iterating through a list of media packets protected by a specific Fec packet. First returns the first media packet to iterate through. HasNext indicates whether or not there are more media packets that can be iterated through. Next returns the next media packet to iterate through. Reset sets the starting iterating index back to 0. func NewMediaPacketIterator(mediaPackets []rtp.Packet, coveredIndices []uint32) *MediaPacketIterator func (*MediaPacketIterator).Reset() *MediaPacketIterator func github.com/pion/interceptor/pkg/flexfec.(*ProtectionCoverage).GetCoveredBy(fecPacketIndex uint32) *MediaPacketIterator
Package-Level Functions (only one)
NewMediaPacketIterator returns a new MediaPacketIterator.