Documentation
¶
Overview ¶
Package cutting is how apiv2 reaches the runners for the cut editor: the audio level timeline of a VOD and the cutting of it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cutting ¶
type Cutting struct {
Manager *runner_manager.Manager
}
Cutting asks the runners to build waveforms and cut VODs. Only a runner can, so Manager being nil means there is nobody to ask.
func (Cutting) Cut ¶
func (c Cutting) Cut(sourceStreamID, targetStreamID uint, source apiv2.CutSource, discard []model.CutRange) error
Cut asks a runner to cut one version.
func (Cutting) RequestWaveform ¶
RequestWaveform asks a runner for the timeline of the stream and the length of the versions.
func (Cutting) ScanSilences ¶
ScanSilences asks a runner to detect the silences of the stream again.