twcc

package
v0.0.0-...-c363618 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Responder

type Responder struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Responder is a lightweight wrapper around pion/interceptor's implementation of TWCC

func NewTransportWideCCResponder

func NewTransportWideCCResponder() *Responder

func (*Responder) OnFeedback

func (t *Responder) OnFeedback(f func(pkts []rtcp.Packet))

OnFeedback sets the callback for the formed twcc feedback rtcp packet

func (*Responder) Push

func (t *Responder) Push(ssrc uint32, sn uint16, timeNS int64, marker bool)

Push a sequence number read from rtp packet ext packet

Jump to

Keyboard shortcuts

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