Help us shape the future of Go! Take the 2026 Go Developer Survey

gcc

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL