twcc

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: MIT Imports: 8 Imported by: 3

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 will get the transport wide sequence number from rtp extension header, and reply with the rtcp feedback message according to: https://tools.ietf.org/html/draft-holmer-rmcat-transport-wide-cc-extensions-01

func NewTransportWideCCResponder

func NewTransportWideCCResponder(ssrc uint32) *Responder

func (*Responder) OnFeedback

func (t *Responder) OnFeedback(f func(p rtcp.RawPacket))

OnFeedback sets the callback for the formed twcc feedback rtcp packet

func (*Responder) Push

func (t *Responder) Push(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