Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRegistry ¶
func BuildRegistry(factories []interceptor.Factory) *interceptor.Registry
BuildRegistry wraps factories into an interceptor.Registry for pion API.
func SenderFactories ¶
func SenderFactories(initialBitrateBps int) ([]interceptor.Factory, func() int, error)
SenderFactories builds interceptor factories for a sender PeerConnection with GCC bandwidth estimation. Returns the factories and a function that returns the current GCC estimate in bps.
The chain includes NACK, RTCP reports, TWCC, GCC, and transport-cc header extension injection. Suitable for raw pion PeerConnections.
Types ¶
type TWCCExtFactory ¶
type TWCCExtFactory struct{}
TWCCExtFactory adds transport-cc sequence numbers to outgoing RTP packets so GCC can track them.
func (TWCCExtFactory) NewInterceptor ¶
func (TWCCExtFactory) NewInterceptor(_ string) (interceptor.Interceptor, error)
Click to show internal directories.
Click to hide internal directories.