rtc

package
v0.0.0-...-96bbaea Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func InitConfig

func InitConfig()

func NewSink

func NewSink(id stream.SinkID, sourceId string, offer string, cb func(sdp string)) stream.Sink

func NewTransStream

func NewTransStream() stream.TransStream

Types

type Sink

type Sink struct {
	stream.BaseSink
	// contains filtered or unexported fields
}

func (*Sink) Close

func (s *Sink) Close()

func (*Sink) StartStreaming

func (s *Sink) StartStreaming(transStream stream.TransStream) error

func (*Sink) Write

func (s *Sink) Write(index int, data []*collections.ReferenceCounter[[]byte], ts int64, keyVideo bool) error

Jump to

Keyboard shortcuts

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