package rfc8888

Import Path
	github.com/pion/interceptor/pkg/rfc8888 (on go.dev)

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files Package rfc8888 provides an interceptor that generates congestion control feedback reports as defined by RFC 8888. option.go recorder.go stream_log.go ticker.go
Package-Level Type Names (total 5)
/* sort by: | */
An Option is a function that can be used to configure a SenderInterceptor. func SenderNow(f func() time.Time) Option func SenderTicker(f TickerFactory) Option func SendInterval(interval time.Duration) Option func NewSenderInterceptor(opts ...Option) (*SenderInterceptorFactory, error)
Recorder records incoming RTP packets and their arrival times. Recorder can be used to create feedback reports as defined by RFC 8888. AddPacket writes a packet to the underlying stream. BuildReport creates a new rtcp.CCFeedbackReport containing all packets that were added by AddPacket and missing packets. func NewRecorder() *Recorder
SenderInterceptor sends congestion control feedback as specified in RFC 8888. NoOp interceptor.NoOp BindLocalStream lets you modify any outgoing RTP packets. It is called once for per LocalStream. The returned method will be called once per rtp packet. BindRTCPReader lets you modify any incoming RTCP packets. It is called once per sender/receiver, however this might change in the future. The returned method will be called once per packet batch. BindRTCPWriter lets you modify any outgoing RTCP packets. It is called once per PeerConnection. The returned method will be called once per packet batch. BindRemoteStream lets you modify any incoming RTP packets. It is called once for per RemoteStream. The returned method will be called once per rtp packet.. Close closes the interceptor. UnbindLocalStream is called when the Stream is removed. It can be used to clean up any data related to that track. UnbindRemoteStream is called when the Stream is removed. It can be used to clean up any data related to that track. *SenderInterceptor : github.com/pion/interceptor.Interceptor *SenderInterceptor : github.com/prometheus/common/expfmt.Closer *SenderInterceptor : io.Closer
SenderInterceptorFactory is a interceptor.Factory for a SenderInterceptor. NewInterceptor constructs a new SenderInterceptor. *SenderInterceptorFactory : github.com/pion/interceptor.Factory func NewSenderInterceptor(opts ...Option) (*SenderInterceptorFactory, error)
TickerFactory is a factory to create new tickers. func SenderTicker(f TickerFactory) Option
Package-Level Functions (total 5)
NewRecorder creates a new Recorder.
NewSenderInterceptor returns a new SenderInterceptorFactory configured with the given options.
SenderNow sets an alternative for the time.Now function.
SenderTicker sets an alternative for time.Ticker.
SendInterval sets the feedback send interval for the interceptor.