Documentation
¶
Overview ¶
Package postprocessing is how apiv2 reaches the redoing of VOD post-processing: thumbnails and silences.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostProcessing ¶
type PostProcessing struct {
Manager *runner_manager.Manager
}
PostProcessing redoes the post-processing of one version of one VOD: its large thumbnail and, if asked, the silences. Only a runner can do this today, so Manager being nil means there is nobody to ask.
func (PostProcessing) Redo ¶
func (t PostProcessing) Redo(streamID uint, version model.StreamVersion, playlistURL string, detectSilence bool) error
Redo asks a runner to redo the thumbnail for one version of one VOD, and the silences of the stream if detectSilence is set. playlistURL must be signed.