rtplossdetector

package
v3.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package rtplossdetector implements an algorithm that detects lost packets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LossDetector

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

LossDetector detects lost packets.

func New

func New() *LossDetector

New allocates a LossDetector.

func (*LossDetector) Process

func (r *LossDetector) Process(pkt *rtp.Packet) int

Process processes a RTP packet. It returns the number of lost packets.

Jump to

Keyboard shortcuts

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