mediatransportutil

package module
v0.0.0-...-6af8141 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 23 modules, 36 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRttNoLastSenderReport      = errors.New("no last sender report")
	ErrRttNotLastSenderReport     = errors.New("not last sender report")
	ErrRttNoLastSendTime          = errors.New("no last sent time")
	ErrRttAnachronousSenderReport = errors.New("anachronous sender report")
)

Functions

func GetRttMs

func GetRttMs(report *rtcp.ReceptionReport, lastSRNTP NtpTime, lastSentAt time.Time) (uint32, error)

func GetRttMsFromReceiverReportOnly

func GetRttMsFromReceiverReportOnly(report *rtcp.ReceptionReport) (uint32, error)

Types

type NtpTime

type NtpTime uint64

func ToNtpTime

func ToNtpTime(t time.Time) NtpTime

func (NtpTime) Duration

func (t NtpTime) Duration() time.Duration

func (NtpTime) Time

func (t NtpTime) Time() time.Time

Directories

Path Synopsis
pkg
red

Jump to

Keyboard shortcuts

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