h264conf

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package h264conf contains a H264 configuration parser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	SPS []byte
	PPS []byte
}

Conf is a RTMP H264 configuration.

func (Conf) Marshal

func (c Conf) Marshal() ([]byte, error)

Marshal encodes a Conf into bytes.

func (*Conf) Unmarshal

func (c *Conf) Unmarshal(buf []byte) error

Unmarshal decodes a Conf from bytes.

Jump to

Keyboard shortcuts

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