Documentation
¶
Index ¶
- Variables
- type Recorder
- func (r *Recorder) AddOutput(url string) error
- func (r *Recorder) Close()
- func (r *Recorder) GetInputUrl(req *livekit.StartRecordingRequest) (string, error)
- func (r *Recorder) RemoveOutput(url string) error
- func (r *Recorder) Run(recordingId string) *livekit.RecordingResult
- func (r *Recorder) Stop()
- func (r *Recorder) Validate(req *livekit.StartRecordingRequest) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoOutput = errors.New("output file, s3 path, or rtmp urls required") ErrInvalidUrl = errors.New("invalid rtmp url") ErrInvalidFilePath = errors.New("file output must be {path/}filename.mp4") ErrNoInput = errors.New("input url or template required") ErrInvalidTemplate = errors.New("token or room name required") )
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func NewRecorder ¶
func (*Recorder) GetInputUrl ¶ added in v0.3.2
func (r *Recorder) GetInputUrl(req *livekit.StartRecordingRequest) (string, error)
func (*Recorder) RemoveOutput ¶
Click to show internal directories.
Click to hide internal directories.