package config import ( "time" "github.com/owncast/owncast/models" ) // Defaults will hold default configuration values. type Defaults struct { Name string Title string Summary string ServerWelcomeMessage string Logo string Tags []string PageBodyContent string DatabaseFilePath string WebServerPort int WebServerIP string RTMPServerPort int StreamKey string YPEnabled bool YPServer string SegmentLengthSeconds int SegmentsInPlaylist int StreamVariants []models.StreamOutputVariant FederationUsername string FederationGoLiveMessage string ChatEstablishedUserModeTimeDuration time.Duration } // GetDefaults will return default configuration values. func GetDefaults() Defaults { return Defaults{ Name: "New Owncast Server", Summary: "This is a new live video streaming server powered by Owncast.", ServerWelcomeMessage: "", Logo: "logo.svg", Tags: []string{ "owncast", "streaming", }, PageBodyContent: ` # Welcome to Owncast! - This is a live stream powered by [Owncast](https://owncast.online), a free and open source live streaming server. - To discover more examples of streams, visit [Owncast's directory](https://directory.owncast.online). - If you're the owner of this server you should visit the admin and customize the content on this page.