Versions in this module Expand all Collapse all v0 v0.0.1 Nov 29, 2022 Changes in this version + type Option func(*SenderInterceptor) error + func SendInterval(interval time.Duration) Option + func SenderNow(f func() time.Time) Option + func SenderTicker(f TickerFactory) Option + type Recorder struct + func NewRecorder() *Recorder + func (r *Recorder) AddPacket(ts time.Time, ssrc uint32, seq uint16, ecn uint8) + func (r *Recorder) BuildReport(now time.Time, maxSize int) *rtcp.CCFeedbackReport + type SenderInterceptor struct + func (s *SenderInterceptor) BindRTCPWriter(writer interceptor.RTCPWriter) interceptor.RTCPWriter + func (s *SenderInterceptor) BindRemoteStream(info *interceptor.StreamInfo, reader interceptor.RTPReader) interceptor.RTPReader + func (s *SenderInterceptor) Close() error + type SenderInterceptorFactory struct + func NewSenderInterceptor(opts ...Option) (*SenderInterceptorFactory, error) + func (s *SenderInterceptorFactory) NewInterceptor(id string) (interceptor.Interceptor, error) + type TickerFactory func(d time.Duration) ticker