instance: {
name: string
shortDescription: string
- defaultClientRoute: string
isNSFW: boolean
defaultNSFWPolicy: NSFWPolicyType
+ defaultClientRoute: string
customizations: {
javascript: string
css: string
allowed: boolean
allowedForCurrentIP: boolean
requiresEmailVerification: boolean
+ minimumAge: number
}
transcoding: {
}
enabledResolutions: number[]
+
+ profile: string
+ availableProfiles: string[]
}
live: {
enabled: boolean
enabledResolutions: number[]
+
+ profile: string
+ availableProfiles: string[]
+ }
+
+ rtmp: {
+ port: number
}
}
}
}
+ banner: {
+ file: {
+ size: {
+ max: number
+ }
+ extensions: string[]
+ }
+ }
+
video: {
image: {
size: {
trending: {
videos: {
intervalDays: number
+ algorithms: {
+ enabled: string[]
+ default: string
+ }
}
}
level: BroadcastMessageLevel
dismissable: boolean
}
+
+ homepage: {
+ enabled: boolean
+ }
}
+
+export type HTMLServerConfig = Omit<ServerConfig, 'signup'>