You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
349 B
14 lines
349 B
package ffmpeg |
|
|
|
import ( |
|
"github.com/gabek/owncast/config" |
|
) |
|
|
|
//ShowStreamOfflineState generates and shows the stream's offline state |
|
func ShowStreamOfflineState() { |
|
transcoder := NewTranscoder() |
|
transcoder.SetSegmentLength(10) |
|
transcoder.SetAppendToStream(true) |
|
transcoder.SetInput(config.Config.GetOfflineContentPath()) |
|
transcoder.Start() |
|
}
|
|
|