lksdk_output

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyFrameEmitter added in v1.3.0

type KeyFrameEmitter interface {
	ForceKeyFrame() error
}

type LKSDKOutput

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

func NewLKSDKOutput

func NewLKSDKOutput(ctx context.Context, p *params.Params) (*LKSDKOutput, error)

func (*LKSDKOutput) AddAudioTrack

func (s *LKSDKOutput) AddAudioTrack(mimeType string, disableDTX bool, stereo bool) (*lksdk.LocalTrack, error)

func (*LKSDKOutput) AddOutputs added in v1.3.0

func (s *LKSDKOutput) AddOutputs(o ...SampleProvider)

func (*LKSDKOutput) AddVideoTrack

func (s *LKSDKOutput) AddVideoTrack(layers []*livekit.VideoLayer, mimeType string) ([]*lksdk.LocalTrack, []*PLIHandler, error)

func (*LKSDKOutput) Close

func (s *LKSDKOutput) Close()

type PLIHandler added in v1.3.0

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

func (*PLIHandler) HandlePLI added in v1.3.0

func (h *PLIHandler) HandlePLI() error

func (*PLIHandler) SetKeyFrameEmitter added in v1.3.0

func (h *PLIHandler) SetKeyFrameEmitter(p KeyFrameEmitter)

type SampleProvider added in v1.3.0

type SampleProvider interface {
	Close() error
}

Jump to

Keyboard shortcuts

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