Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioOutput ¶ added in v0.9.0
type AudioOutput struct { *Output // contains filtered or unexported fields }
func NewAudioOutput ¶
func NewAudioOutput(options *livekit.IngressAudioEncodingOptions, outputSync *utils.TrackOutputSynchronizer, statsGatherer *stats.LocalMediaStatsGatherer) (*AudioOutput, error)
type Input ¶
type Input struct {
// contains filtered or unexported fields
}
func (*Input) OnOutputReady ¶
func (i *Input) OnOutputReady(f OutputReadyFunc)
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
Output manages GStreamer elements that converts & encodes video to the specification that's suitable for WebRTC
func (*Output) ForceKeyFrame ¶
func (*Output) SinkReady ¶ added in v1.4.1
func (o *Output) SinkReady(localTrack *lksdk.LocalTrack)
type OutputReadyFunc ¶
type OutputReadyFunc func(pad *gst.Pad, kind types.StreamKind)
type Source ¶ added in v1.0.0
type VideoOutput ¶ added in v0.9.0
type VideoOutput struct { *Output // contains filtered or unexported fields }
FIXME Use generics instead?
func NewVideoOutput ¶
func NewVideoOutput(codec livekit.VideoCodec, layer *livekit.VideoLayer, outputSync *utils.TrackOutputSynchronizer, statsGatherer *stats.LocalMediaStatsGatherer) (*VideoOutput, error)
type VideoOutputBin ¶ added in v0.9.0
type VideoOutputBin struct {
// contains filtered or unexported fields
}
func NewVideoOutputBin ¶ added in v0.9.0
func NewVideoOutputBin(options *livekit.IngressVideoEncodingOptions, outputs []*Output) (*VideoOutputBin, error)
func (*VideoOutputBin) GetBin ¶ added in v0.9.0
func (o *VideoOutputBin) GetBin() *gst.Bin
type WebRTCSink ¶
type WebRTCSink struct {
// contains filtered or unexported fields
}
func NewWebRTCSink ¶
func NewWebRTCSink(ctx context.Context, p *params.Params, onFailure func(), statsGatherer *stats.LocalMediaStatsGatherer) (*WebRTCSink, error)
func (*WebRTCSink) AddTrack ¶
func (s *WebRTCSink) AddTrack(kind types.StreamKind, caps *gst.Caps) (*gst.Bin, error)
func (*WebRTCSink) Close ¶
func (s *WebRTCSink) Close() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.