constants.go 805 B

123456789101112131415161718192021222324
  1. package config
  2. import "path/filepath"
  3. const (
  4. // StaticVersionNumber is the version of Owncast that is used when it's not overwritten via build-time settings.
  5. StaticVersionNumber = "0.0.12" // Shown when you build from develop
  6. // WebRoot is the web server root directory.
  7. WebRoot = "webroot"
  8. // FfmpegSuggestedVersion is the version of ffmpeg we suggest.
  9. FfmpegSuggestedVersion = "v4.1.5" // Requires the v
  10. // DataDirectory is the directory we save data to.
  11. DataDirectory = "data"
  12. // EmojiDir is relative to the webroot.
  13. EmojiDir = "/img/emoji"
  14. )
  15. var (
  16. // BackupDirectory is the directory we write backup files to.
  17. BackupDirectory = filepath.Join(DataDirectory, "backup")
  18. // HLSStoragePath is the directory HLS video is written to.
  19. HLSStoragePath = filepath.Join(DataDirectory, "hls")
  20. )