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 ¶
func (u *RTXInfoExtractor) BindRemoteStream(info *interceptor.StreamInfo, reader interceptor.RTPReader) interceptor.RTPReader
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
func (u *UnhandleSimulcastInterceptor) BindRemoteStream(info *interceptor.StreamInfo, reader interceptor.RTPReader) interceptor.RTPReader
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
func (f *UnhandleSimulcastInterceptorFactory) NewInterceptor(id string) (interceptor.Interceptor, error)
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
Click to show internal directories.
Click to hide internal directories.