Documentation ¶
Overview ¶
Package recorder contains the recorder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnSegmentCompleteFunc ¶
OnSegmentCompleteFunc is the prototype of the function passed as OnSegmentComplete
type OnSegmentCreateFunc ¶
type OnSegmentCreateFunc = func(path string)
OnSegmentCreateFunc is the prototype of the function passed as OnSegmentCreate
type Recorder ¶
type Recorder struct { PathFormat string Format conf.RecordFormat PartDuration time.Duration SegmentDuration time.Duration PathName string Stream *stream.Stream OnSegmentCreate OnSegmentCreateFunc OnSegmentComplete OnSegmentCompleteFunc Parent logger.Writer // contains filtered or unexported fields }
Recorder writes recordings to disk.
Click to show internal directories.
Click to hide internal directories.