media

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package media provides media writer and filters

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sample

type Sample struct {
	Data    []byte
	Samples uint32
}

Sample contains media, and the amount of samples in it

type Writer

type Writer interface {
	// Add the content of an RTP packet to the media
	WriteRTP(packet *rtp.Packet) error
	// Close the media
	// Note: Close implementation must be idempotent
	Close() error
}

Writer defines an interface to handle the creation of media files

Directories

Path Synopsis
Package ivfreader implements IVF media container reader
Package ivfreader implements IVF media container reader
Package ivfwriter implements IVF media container writer
Package ivfwriter implements IVF media container writer
Package oggwriter implements OGG media container writer
Package oggwriter implements OGG media container writer
Package rtpdump implements the RTPDump file format documented at https://www.cs.columbia.edu/irt/software/rtptools/
Package rtpdump implements the RTPDump file format documented at https://www.cs.columbia.edu/irt/software/rtptools/
Package samplebuilder provides functionality to reconstruct media frame from RTP packets
Package samplebuilder provides functionality to reconstruct media frame from RTP packets

Jump to

Keyboard shortcuts

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