h265writer

package
v4.2.24 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package h265writer implements H265/HEVC media container writer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type H265Writer

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

H265Writer is used to take H.265/HEVC RTP packets defined in RFC 7798, parse them and write the data to an io.Writer.

func New

func New(filename string) (*H265Writer, error)

New builds a new H265 writer.

func NewWith

func NewWith(w io.Writer) *H265Writer

NewWith initializes a new H265 writer with an io.Writer output.

func (*H265Writer) Close

func (h *H265Writer) Close() error

Close closes the underlying writer.

func (*H265Writer) WriteRTP

func (h *H265Writer) WriteRTP(packet *rtp.Packet) error

WriteRTP adds a new packet and writes the appropriate headers for it.

Jump to

Keyboard shortcuts

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