rtplossdetector

package
v4.12.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 2 Imported by: 3

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 deprecated

type LossDetector rtplossdetector.LossDetector

LossDetector detects lost packets.

Deprecated: will be removed in the next version.

func New

func New() *LossDetector

New allocates a LossDetector.

func (*LossDetector) Process

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

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