Chain is an interceptor that runs all child interceptors in order. 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, cleaning up any data if necessary. 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.
*Chain : Interceptor
*Chain : github.com/prometheus/common/expfmt.Closer
*Chain : io.Closer
func NewChain(interceptors []Interceptor) *Chain
Interceptor can be used to add functionality to you PeerConnections by modifying any incoming/outgoing rtp/rtcp
packets, or sending your own packets as needed. 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.( Interceptor) Close() error 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.
*Chain
*NoOp
*github.com/pion/interceptor/pkg/flexfec.FecInterceptor
*github.com/pion/interceptor/pkg/nack.GeneratorInterceptor
*github.com/pion/interceptor/pkg/nack.ResponderInterceptor
*github.com/pion/interceptor/pkg/report.ReceiverInterceptor
*github.com/pion/interceptor/pkg/report.SenderInterceptor
*github.com/pion/interceptor/pkg/rfc8888.SenderInterceptor
*github.com/pion/interceptor/pkg/twcc.HeaderExtensionInterceptor
*github.com/pion/interceptor/pkg/twcc.SenderInterceptor
Interceptor : github.com/prometheus/common/expfmt.Closer
Interceptor : io.Closer
func Factory.NewInterceptor(id string) (Interceptor, error)
func (*Registry).Build(id string) (Interceptor, error)
func github.com/pion/interceptor/pkg/flexfec.(*FecInterceptorFactory).NewInterceptor(_ string) (Interceptor, error)
func github.com/pion/interceptor/pkg/nack.(*GeneratorInterceptorFactory).NewInterceptor(_ string) (Interceptor, error)
func github.com/pion/interceptor/pkg/nack.(*ResponderInterceptorFactory).NewInterceptor(_ string) (Interceptor, error)
func github.com/pion/interceptor/pkg/report.(*ReceiverInterceptorFactory).NewInterceptor(_ string) (Interceptor, error)
func github.com/pion/interceptor/pkg/report.(*SenderInterceptorFactory).NewInterceptor(_ string) (Interceptor, error)
func github.com/pion/interceptor/pkg/rfc8888.(*SenderInterceptorFactory).NewInterceptor(_ string) (Interceptor, error)
func github.com/pion/interceptor/pkg/twcc.(*HeaderExtensionInterceptorFactory).NewInterceptor(_ string) (Interceptor, error)
func github.com/pion/interceptor/pkg/twcc.(*SenderInterceptorFactory).NewInterceptor(_ string) (Interceptor, error)
func NewChain(interceptors []Interceptor) *Chain
NoOp is an Interceptor that does not modify any packets. It can embedded in other interceptors, so it's
possible to implement only a subset of the methods. 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, cleaning up any data if necessary. 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.
*NoOp : Interceptor
*NoOp : github.com/prometheus/common/expfmt.Closer
*NoOp : io.Closer
RTCPFeedback signals the connection to use additional RTCP packet types.
https://draft.ortc.org/#dom-rtcrtcpfeedback The parameter value depends on the type.
For example, type="nack" parameter="pli" will send Picture Loss Indicator packets. Type is the type of feedback.
see: https://draft.ortc.org/#dom-rtcrtcpfeedback
valid: ack, ccm, nack, goog-remb, transport-cc
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.