Versions in this module Expand all Collapse all v1 v1.0.0 Feb 27, 2021 Changes in this version + var ErrInvalidSize = errors.New("invalid buffer size") + type GeneratorInterceptor struct + func NewGeneratorInterceptor(opts ...GeneratorOption) (*GeneratorInterceptor, error) + 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) UnbindLocalStream(info *interceptor.StreamInfo) + type GeneratorOption func(r *GeneratorInterceptor) error + func GeneratorInterval(interval time.Duration) GeneratorOption + func GeneratorLog(log logging.LeveledLogger) GeneratorOption + func GeneratorSize(size uint16) GeneratorOption + func GeneratorSkipLastN(skipLastN uint16) GeneratorOption + type ResponderInterceptor struct + func NewResponderInterceptor(opts ...ResponderOption) (*ResponderInterceptor, error) + 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 ResponderOption func(s *ResponderInterceptor) error + func ResponderLog(log logging.LeveledLogger) ResponderOption + func ResponderSize(size uint16) ResponderOption