Documentation
¶
Index ¶
- Variables
- func CodecParametersFuzzySearch(needle webrtc.RTPCodecParameters, haystack []webrtc.RTPCodecParameters) (webrtc.RTPCodecParameters, error)
- func FindRTXPayloadType(needle webrtc.PayloadType, haystack []webrtc.RTPCodecParameters) webrtc.PayloadType
- func GetHeaderExtensionID(extensions []interceptor.RTPHeaderExtension, ...) int
- func IsSimulcastMode(m livekit.VideoLayer_Mode) bool
- func ValidateRTPPacket(pkt *rtp.Packet, expectedPayloadType uint8, expectedSSRC uint32) error
- type Debouncer
- type DownTrackSpreader
- func (d *DownTrackSpreader[T]) Broadcast(writer func(T))
- func (d *DownTrackSpreader[T]) DownTrackCount() int
- func (d *DownTrackSpreader[T]) Free(subscriberID livekit.ParticipantID)
- func (d *DownTrackSpreader[T]) GetDownTracks() []T
- func (d *DownTrackSpreader[T]) HasDownTrack(subscriberID livekit.ParticipantID) bool
- func (d *DownTrackSpreader[T]) ResetAndGetDownTracks() []T
- func (d *DownTrackSpreader[T]) Store(sender T)
- type DownTrackSpreaderParams
- type RangeMap
- func (r *RangeMap[RT, VT]) ClearAndResetValue(start RT, val VT)
- func (r *RangeMap[RT, VT]) DecValue(end RT, dec VT)
- func (r *RangeMap[RT, VT]) ExcludeRange(startInclusive RT, endExclusive RT) error
- func (r *RangeMap[RT, VT]) GetValue(key RT) (VT, error)
- func (r *RangeMap[RT, VT]) MarshalLogObject(e zapcore.ObjectEncoder) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CodecParametersFuzzySearch ¶
func CodecParametersFuzzySearch(needle webrtc.RTPCodecParameters, haystack []webrtc.RTPCodecParameters) (webrtc.RTPCodecParameters, error)
Do a fuzzy find for a codec in the list of codecs Used for lookup up a codec in an existing list to find a match
func FindRTXPayloadType ¶
func FindRTXPayloadType(needle webrtc.PayloadType, haystack []webrtc.RTPCodecParameters) webrtc.PayloadType
Given a CodecParameters find the RTX CodecParameters if one exists
func GetHeaderExtensionID ¶
func GetHeaderExtensionID(extensions []interceptor.RTPHeaderExtension, extension webrtc.RTPHeaderExtensionCapability) int
GetHeaderExtensionID returns the ID of a header extension, or 0 if not found
func IsSimulcastMode ¶
func IsSimulcastMode(m livekit.VideoLayer_Mode) bool
Types ¶
type Debouncer ¶
type Debouncer struct {
// contains filtered or unexported fields
}
func NewDebouncer ¶
func (*Debouncer) SetDuration ¶
type DownTrackSpreader ¶
type DownTrackSpreader[T sender] struct {
// contains filtered or unexported fields
}
func NewDownTrackSpreader ¶
func NewDownTrackSpreader[T sender](params DownTrackSpreaderParams) *DownTrackSpreader[T]
func (*DownTrackSpreader[T]) Broadcast ¶
func (d *DownTrackSpreader[T]) Broadcast(writer func(T))
func (*DownTrackSpreader[T]) DownTrackCount ¶
func (d *DownTrackSpreader[T]) DownTrackCount() int
func (*DownTrackSpreader[T]) Free ¶
func (d *DownTrackSpreader[T]) Free(subscriberID livekit.ParticipantID)
func (*DownTrackSpreader[T]) GetDownTracks ¶
func (d *DownTrackSpreader[T]) GetDownTracks() []T
func (*DownTrackSpreader[T]) HasDownTrack ¶
func (d *DownTrackSpreader[T]) HasDownTrack(subscriberID livekit.ParticipantID) bool
func (*DownTrackSpreader[T]) ResetAndGetDownTracks ¶
func (d *DownTrackSpreader[T]) ResetAndGetDownTracks() []T
func (*DownTrackSpreader[T]) Store ¶
func (d *DownTrackSpreader[T]) Store(sender T)
type DownTrackSpreaderParams ¶
type RangeMap ¶
type RangeMap[RT rangeType, VT valueType] struct {
// contains filtered or unexported fields
}
func NewRangeMap ¶
func (*RangeMap[RT, VT]) ClearAndResetValue ¶
func (r *RangeMap[RT, VT]) ClearAndResetValue(start RT, val VT)
func (*RangeMap[RT, VT]) ExcludeRange ¶
func (*RangeMap[RT, VT]) MarshalLogObject ¶
func (r *RangeMap[RT, VT]) MarshalLogObject(e zapcore.ObjectEncoder) error
Click to show internal directories.
Click to hide internal directories.