nack

package
v0.0.0-...-a2bdee9 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NackQueueParamsDefault = NackQueueParams{
	DefaultRtt:    defaultRtt,
	MaxNacks:      maxNacks,
	MaxTries:      maxTries,
	MinInterval:   minInterval,
	MaxInterval:   maxInterval,
	BackoffFactor: backoffFactor,
	MaxLifetime:   maxLifetime,
}

Functions

This section is empty.

Types

type NackQueue

type NackQueue struct {
	// contains filtered or unexported fields
}

func NewNACKQueue

func NewNACKQueue(params NackQueueParams) *NackQueue

func (*NackQueue) Pairs

func (n *NackQueue) Pairs() ([]rtcp.NackPair, int)

func (*NackQueue) Push

func (n *NackQueue) Push(sn uint16)

func (*NackQueue) Remove

func (n *NackQueue) Remove(sn uint16)

func (*NackQueue) SetRTT

func (n *NackQueue) SetRTT(rtt uint32)

type NackQueueParams

type NackQueueParams struct {
	DefaultRtt    uint32
	MaxNacks      int
	MaxTries      uint8
	MinInterval   time.Duration
	MaxInterval   time.Duration
	BackoffFactor float64
	MaxLifetime   time.Duration
}

Jump to

Keyboard shortcuts

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