Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPipelineNotFound = errors.New("pipeline not initialized") ErrCannotAddToFile = errors.New("cannot add rtmp output to file recording") ErrCannotRemoveFromFile = errors.New("cannot remove rtmp output from file recording") ErrGhostPadFailed = errors.New("failed to add ghost pad to bin") ErrOutputAlreadyExists = errors.New("output already exists") ErrOutputNotFound = errors.New("output not found") GErrNoURI = "No URI set before starting" GErrFailedToStart = "Failed to start" GErrCouldNotConnect = "Could not connect to RTMP stream" GErrStreamingStopped = "streaming stopped, reason error (-5)" )
Functions ¶
This section is empty.
Types ¶
type OutputBin ¶
type OutputBin struct {
// contains filtered or unexported fields
}
func (*OutputBin) AddRtmpSink ¶
func (*OutputBin) RemoveRtmpSink ¶
func (*OutputBin) RemoveSinkByName ¶ added in v0.3.1
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
func NewFilePipeline ¶
func NewFilePipeline(filename string, options *livekit.RecordingOptions) (*Pipeline, error)
func NewRtmpPipeline ¶
func NewRtmpPipeline(urls []string, options *livekit.RecordingOptions) (*Pipeline, error)
func (*Pipeline) Abort ¶ added in v0.3.13
func (p *Pipeline) Abort()
Abort can only be called before the pipeline has started
func (*Pipeline) Close ¶
func (p *Pipeline) Close()
Close waits for the pipeline to start before closing
func (*Pipeline) GetStartTime ¶ added in v0.3.13
func (*Pipeline) RemoveOutput ¶
Click to show internal directories.
Click to hide internal directories.