webrtc

package
Version: v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorNotFound          = errors.New("stream not found")
	ErrorCodecNotSupported = errors.New("codec not supported")
	ErrorClientOffline     = errors.New("client offline")
	Label                  = "track_"
)

Functions

This section is empty.

Types

type Muxer

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

func NewMuxer

func NewMuxer() *Muxer

func (*Muxer) Close

func (element *Muxer) Close() error

func (*Muxer) WaitCloser

func (element *Muxer) WaitCloser()

func (*Muxer) WriteHeader

func (element *Muxer) WriteHeader(streams []av.CodecData, sdp64 string) (string, error)

func (*Muxer) WritePacket

func (element *Muxer) WritePacket(pkt av.Packet) (err error)

type Stream

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL