Documentation ¶
Index ¶
- type KeyFrameEmitter
- type LKSDKOutput
- func (s *LKSDKOutput) AddAudioTrack(mimeType string, disableDTX bool, stereo bool) (*lksdk.LocalTrack, error)
- func (s *LKSDKOutput) AddOutputs(o ...SampleProvider)
- func (s *LKSDKOutput) AddVideoTrack(layers []*livekit.VideoLayer, mimeType string) ([]*lksdk.LocalTrack, []*PLIHandler, error)
- func (s *LKSDKOutput) Close()
- type PLIHandler
- type SampleProvider
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 (*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
}
Click to show internal directories.
Click to hide internal directories.