rtp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Packet

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

func LoadPCM

func LoadPCM(name string) ([]Packet, error)

LoadPCM PCM --> PCMA

func LoadPcap

func LoadPcap(name string) ([]Packet, error)

func LoadRTP

func LoadRTP(name string) ([]Packet, error)

func WhiteNoise

func WhiteNoise(duration int) []Packet

WhiteNoise duration(seconds)

func (*Packet) GetPayload

func (p *Packet) GetPayload() []byte

func (*Packet) GetTs

func (p *Packet) GetTs() int64

Jump to

Keyboard shortcuts

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