rtptimedec

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package rtptimedec contains a RTP timestamp decoder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

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

Decoder is a RTP timestamp decoder.

func New

func New(clockRate int) *Decoder

New allocates a Decoder.

func (*Decoder) Decode

func (d *Decoder) Decode(ts uint32) time.Duration

Decode decodes a RTP timestamp.

Jump to

Keyboard shortcuts

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