sdk

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppWriter

type AppWriter struct {
	*synchronizer.TrackSynchronizer
	// contains filtered or unexported fields
}

func NewAppWriter

func NewAppWriter(
	track *webrtc.TrackRemote,
	pub lksdk.TrackPublication,
	rp *lksdk.RemoteParticipant,
	ts *config.TrackSource,
	sync *synchronizer.Synchronizer,
	callbacks *gstreamer.Callbacks,
	logFilename string,
) (*AppWriter, error)

func (*AppWriter) Drain

func (w *AppWriter) Drain(force bool)

Drain blocks until finished

func (*AppWriter) Play

func (w *AppWriter) Play()

func (*AppWriter) SetTrackMuted

func (w *AppWriter) SetTrackMuted(muted bool)

func (*AppWriter) TrackID added in v1.7.8

func (w *AppWriter) TrackID() string

type NullTranslator added in v1.7.8

type NullTranslator struct{}

func (*NullTranslator) Translate added in v1.7.8

func (t *NullTranslator) Translate(_ *rtp.Packet)

type Translator added in v1.7.2

type Translator interface {
	Translate(*rtp.Packet)
}

func NewNullTranslator added in v1.7.8

func NewNullTranslator() Translator

type VP8Translator added in v1.7.2

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

func NewVP8Translator added in v1.7.2

func NewVP8Translator(logger logger.Logger) *VP8Translator

func (*VP8Translator) Translate added in v1.7.2

func (t *VP8Translator) Translate(pkt *rtp.Packet)

Jump to

Keyboard shortcuts

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