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, []*RTCPHandler, error)
- func (s *LKSDKOutput) Close() error
- func (s *LKSDKOutput) WriteRTCP(pkts []rtcp.Packet) error
- type PacketSink
- type RTCPHandler
- type SampleProvider
- type Watchdog
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, []*RTCPHandler, error)
func (*LKSDKOutput) Close ¶
func (s *LKSDKOutput) Close() error
type PacketSink ¶ added in v1.4.0
type RTCPHandler ¶ added in v1.4.0
type RTCPHandler struct {
// contains filtered or unexported fields
}
func (*RTCPHandler) HandlePLI ¶ added in v1.4.0
func (h *RTCPHandler) HandlePLI() error
func (*RTCPHandler) HandleRTCP ¶ added in v1.4.0
func (h *RTCPHandler) HandleRTCP(pkt rtcp.Packet) error
func (*RTCPHandler) SetKeyFrameEmitter ¶ added in v1.4.0
func (h *RTCPHandler) SetKeyFrameEmitter(k KeyFrameEmitter)
func (*RTCPHandler) SetPacketSink ¶ added in v1.4.0
func (h *RTCPHandler) SetPacketSink(p PacketSink)
type SampleProvider ¶ added in v1.3.0
type SampleProvider interface {
Close() error
}
type Watchdog ¶ added in v1.4.0
type Watchdog struct {
// contains filtered or unexported fields
}
func NewWatchdog ¶ added in v1.4.0
func (*Watchdog) TrackAdded ¶ added in v1.4.0
func (w *Watchdog) TrackAdded()
func (*Watchdog) TrackBound ¶ added in v1.4.0
func (w *Watchdog) TrackBound()
func (*Watchdog) TrackUnbound ¶ added in v1.4.0
func (w *Watchdog) TrackUnbound()
Click to show internal directories.
Click to hide internal directories.