Versions in this module Expand all Collapse all v0 v0.0.2 Dec 19, 2023 Changes in this version + var ErrInvalidSize = errors.New("invalid buffer size") + type GeneratorInterceptor struct + func (n *GeneratorInterceptor) BindRTCPWriter(writer interceptor.RTCPWriter) interceptor.RTCPWriter + func (n *GeneratorInterceptor) BindRemoteStream(info *interceptor.StreamInfo, reader interceptor.RTPReader) interceptor.RTPReader + func (n *GeneratorInterceptor) Close() error + func (n *GeneratorInterceptor) UnbindRemoteStream(info *interceptor.StreamInfo) + type GeneratorInterceptorFactory struct + func NewGeneratorInterceptor(opts ...GeneratorOption) (*GeneratorInterceptorFactory, error) + func (g *GeneratorInterceptorFactory) NewInterceptor(_ string) (interceptor.Interceptor, error) + type GeneratorOption func(r *GeneratorInterceptor) error + func GeneratorInterval(interval time.Duration) GeneratorOption + func GeneratorLog(log logging.LeveledLogger) GeneratorOption + func GeneratorMaxNacksPerPacket(maxNacks uint16) GeneratorOption + func GeneratorSize(size uint16) GeneratorOption + func GeneratorSkipLastN(skipLastN uint16) GeneratorOption + type ResponderInterceptor struct + func (n *ResponderInterceptor) BindLocalStream(info *interceptor.StreamInfo, writer interceptor.RTPWriter) interceptor.RTPWriter + func (n *ResponderInterceptor) BindRTCPReader(reader interceptor.RTCPReader) interceptor.RTCPReader + func (n *ResponderInterceptor) UnbindLocalStream(info *interceptor.StreamInfo) + type ResponderInterceptorFactory struct + func NewResponderInterceptor(opts ...ResponderOption) (*ResponderInterceptorFactory, error) + func (r *ResponderInterceptorFactory) NewInterceptor(_ string) (interceptor.Interceptor, error) + type ResponderOption func(s *ResponderInterceptor) error + func DisableCopy() ResponderOption + func ResponderLog(log logging.LeveledLogger) ResponderOption + func ResponderSize(size uint16) ResponderOption