rtptimedec

package
v0.0.0-...-3b681cf Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 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