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 NackQueueInterface ¶
type NackQueueInterface interface {
SetRTT(rtt uint32)
Remove(sn uint16)
Push(sn uint16)
Pairs() ([]rtcp.NackPair, int)
Nacks() []*nack // for testing only
}
func NewNACKQueue ¶
func NewNACKQueue(params NackQueueParams) NackQueueInterface
func NewNACKQueueSafe ¶
func NewNACKQueueSafe(params NackQueueParams) NackQueueInterface
type NackQueueParams ¶
type NackQueueSafe ¶
type NackQueueSafe struct {
NackQueueInterface
// contains filtered or unexported fields
}
func (*NackQueueSafe) Nacks ¶
func (n *NackQueueSafe) Nacks() []*nack
func (*NackQueueSafe) Push ¶
func (n *NackQueueSafe) Push(sn uint16)
func (*NackQueueSafe) Remove ¶
func (n *NackQueueSafe) Remove(sn uint16)
func (*NackQueueSafe) SetRTT ¶
func (n *NackQueueSafe) SetRTT(rtt uint32)
Click to show internal directories.
Click to hide internal directories.