mirror of
https://github.com/owncast/owncast.git
synced 2024-11-26 23:24:29 +03:00
24 lines
805 B
Go
24 lines
805 B
Go
package config
|
|
|
|
import "path/filepath"
|
|
|
|
const (
|
|
// StaticVersionNumber is the version of Owncast that is used when it's not overwritten via build-time settings.
|
|
StaticVersionNumber = "0.0.11" // Shown when you build from develop
|
|
// WebRoot is the web server root directory.
|
|
WebRoot = "webroot"
|
|
// FfmpegSuggestedVersion is the version of ffmpeg we suggest.
|
|
FfmpegSuggestedVersion = "v4.1.5" // Requires the v
|
|
// DataDirectory is the directory we save data to.
|
|
DataDirectory = "data"
|
|
// EmojiDir is relative to the webroot.
|
|
EmojiDir = "/img/emoji"
|
|
)
|
|
|
|
var (
|
|
// BackupDirectory is the directory we write backup files to.
|
|
BackupDirectory = filepath.Join(DataDirectory, "backup")
|
|
|
|
// HLSStoragePath is the directory HLS video is written to.
|
|
HLSStoragePath = filepath.Join(DataDirectory, "hls")
|
|
)
|