codec

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanBeKeyFrame

func CanBeKeyFrame(encoderName string) bool

func ProcessRTPPacket

func ProcessRTPPacket(packet rtc.Packet, encoderName string)

ProcessRTPPacket try to update packet according the encoder name

func Register

func Register(codec *Codec)

Types

type Codec

type Codec struct {
	MediaType        string
	EncoderName      string
	SupportKeyFrame  bool
	SupportSimulcast bool
	SupportSVC       bool
	Process          func([]byte) rtc.PayloadDescriptor
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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