frame

package
v1.7.13 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 1 Imported by: 13

Documentation

Overview

Package frame provides code to construct complete media frames from packetized media

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AV1

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

AV1 represents a collection of OBUs given a stream of AV1 Packets. Each AV1 RTP Packet is a collection of OBU Elements. Each OBU Element may be a full OBU, or just a fragment of one. AV1 provides the tools to construct a collection of OBUs from a collection of OBU Elements. This structure contains an internal cache and should be used for the entire RTP Stream.

func (*AV1) ReadFrames

func (f *AV1) ReadFrames(pkt *codecs.AV1Packet) ([][]byte, error)

ReadFrames processes the codecs.AV1Packet and returns fully constructed frames

Jump to

Keyboard shortcuts

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