interceptor

package
v1.9.10 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 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 added in v1.9.10

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

type SimulcastTrackInfo added in v1.9.10

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 added in v1.9.10

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

type UnhandleSimulcastInterceptor added in v1.9.10

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

func (*UnhandleSimulcastInterceptor) BindRemoteStream added in v1.9.10

type UnhandleSimulcastInterceptorFactory added in v1.9.10

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

func NewUnhandleSimulcastInterceptorFactory added in v1.9.10

func NewUnhandleSimulcastInterceptorFactory(opts ...UnhandleSimulcastOption) (*UnhandleSimulcastInterceptorFactory, error)

func (*UnhandleSimulcastInterceptorFactory) NewInterceptor added in v1.9.10

type UnhandleSimulcastOption added in v1.9.10

type UnhandleSimulcastOption func(u *UnhandleSimulcastInterceptor) error

func UnhandleSimulcastTracks added in v1.9.10

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