package
0.1.30
Repository: https://github.com/pion/interceptor.git
Documentation: pkg.go.dev

# Functions

NewInterceptor creates a new InterceptorFactory.
SetNowFunc sets the function the interceptor uses to get a current timestamp.
SetRecorderFactory sets the factory that is used to create new stats recorders for new streams.

# Structs

InboundRTPStreamStats contains stats of inbound RTP streams.
Interceptor is the interceptor that collects stream stats.
InterceptorFactory is a interceptor.Factory for a stats Interceptor.
OutboundRTPStreamStats contains stats of outbound RTP streams.
ReceivedRTPStreamStats contains common receiver stats of RTP streams.
RemoteInboundRTPStreamStats contains stats of inbound RTP streams of the remote peer.
RemoteOutboundRTPStreamStats contains stats of outbound RTP streams of the remote peer.
SentRTPStreamStats contains common sender stats of RTP streams.
Stats contains all the available statistics of RTP streams.

# Interfaces

Getter returns the most recent stats of a stream.
Recorder is the interface of a statistics recorder.

# Type aliases

NewPeerConnectionCallback receives a new StatsGetter for a newly created PeerConnection.
Option can be used to configure the stats interceptor.
RecorderFactory creates new Recorders to be used by the interceptor.