format

package
v0.0.0-...-e0b6167 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AC3

type AC3 = format.AC3

type AV1

type AV1 = format.AV1

type Format

type Format = format.Format

func Unmarshal

func Unmarshal(mediaType string, payloadType uint8, rtpMap string, fmtp map[string]string) (Format, error)

type G711

type G711 = format.G711

type G722

type G722 = format.G722

type G726

type G726 = format.G726

type Generic

type Generic = format.Generic

type H264

type H264 = format.H264

type H265

type H265 = format.H265

type LPCM

type LPCM = format.LPCM

type MJPEG

type MJPEG = format.MJPEG

type MPEG1Audio

type MPEG1Audio = format.MPEG1Audio

type MPEG1Video

type MPEG1Video = format.MPEG1Video

type MPEG4Audio

type MPEG4Audio = format.MPEG4Audio

type MPEG4Video

type MPEG4Video = format.MPEG4Video

type MPEGTS

type MPEGTS = format.MPEGTS

type Opus

type Opus = format.Opus

type PS

type PS struct {
	format.Generic
}

func NewPS

func NewPS(generic format.Generic) *PS

func (*PS) Codec

func (f *PS) Codec() string

Codec implements Format.

func (*PS) CreateDecoder

func (f *PS) CreateDecoder() (*rtpencoder.PSRtpDecoder, error)

CreateDecoder creates a decoder able to decode the content of the format.

func (*PS) CreateEncoder

func (f *PS) CreateEncoder() (*rtpencoder.PSRtpEncoder, error)

CreateEncoder creates an encoder able to encode the content of the format.

type Speex

type Speex = format.Speex

type VP8

type VP8 = format.VP8

type VP9

type VP9 = format.VP9

type Vorbis

type Vorbis = format.Vorbis

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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