interceptor

package
v1.13.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SDESRepairRTPStreamIDURI = "urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RTXInfoExtractor

type RTXInfoExtractor struct {
	interceptor.NoOp
	// contains filtered or unexported fields
}

func (*RTXInfoExtractor) BindRemoteStream

type RTXInfoExtractorFactory

type RTXInfoExtractorFactory struct {
	// contains filtered or unexported fields
}

func NewRTXInfoExtractorFactory

func NewRTXInfoExtractorFactory(
	onStreamFound func(*interceptor.StreamInfo),
	onRTXPairFound func(repair, base uint32, rsid string),
	logger logger.Logger,
) *RTXInfoExtractorFactory

func (*RTXInfoExtractorFactory) NewInterceptor

func (f *RTXInfoExtractorFactory) NewInterceptor(id string) (interceptor.Interceptor, error)

func (*RTXInfoExtractorFactory) SetStreamInfo

func (f *RTXInfoExtractorFactory) SetStreamInfo(ssrc uint32, mid, rid, rsid string)

type SimulcastTrackInfo

type SimulcastTrackInfo struct {
	Mid            string
	StreamID       string
	RepairSSRC     uint32 // set only when `IsRepairStream: false`, i. e. RTX SSRC for the primary stream
	IsRepairStream bool
}

func (*SimulcastTrackInfo) MarshalLogObject

func (s *SimulcastTrackInfo) MarshalLogObject(e zapcore.ObjectEncoder) error

type UnhandleSimulcastInterceptor

type UnhandleSimulcastInterceptor struct {
	interceptor.NoOp
	// contains filtered or unexported fields
}

func (*UnhandleSimulcastInterceptor) BindRemoteStream

type UnhandleSimulcastInterceptorFactory

type UnhandleSimulcastInterceptorFactory struct {
	// contains filtered or unexported fields
}

func (*UnhandleSimulcastInterceptorFactory) NewInterceptor

type UnhandleSimulcastOption

type UnhandleSimulcastOption func(u *UnhandleSimulcastInterceptor) error

func UnhandleSimulcastTracks

func UnhandleSimulcastTracks(logger logger.Logger, tracks map[uint32]SimulcastTrackInfo) UnhandleSimulcastOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL