av

package
v0.0.0-...-bb5b024 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AudioType byte
	VideoType
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Packet

type Packet struct {
	Uid       int64
	TimeStamp uint64
	Data      []byte
	// contains filtered or unexported fields
}

func NewPacket

func NewPacket(data []byte, uid int64) *Packet

func (*Packet) IsAudio

func (p *Packet) IsAudio() bool

func (*Packet) IsKeyFrame

func (p *Packet) IsKeyFrame() bool

func (*Packet) IsVideo

func (p *Packet) IsVideo() bool

Jump to

Keyboard shortcuts

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