X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fserver%2Fserver-config.model.ts;h=efde4ad9dc664bb8488196a60121f2d0a9496dc2;hb=b3d5cb92b100406df98e5cd1f54eff9cd2078b1c;hp=77694a6273c615f5990a608dfb28b64cde7f3e3a;hpb=c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 77694a627..efde4ad9d 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts @@ -36,9 +36,9 @@ export interface ServerConfig { instance: { name: string shortDescription: string - defaultClientRoute: string isNSFW: boolean defaultNSFWPolicy: NSFWPolicyType + defaultClientRoute: string customizations: { javascript: string css: string @@ -96,15 +96,30 @@ export interface ServerConfig { } enabledResolutions: number[] + + profile: string + availableProfiles: string[] } live: { enabled: boolean + maxDuration: number + maxInstanceLives: number + maxUserLives: number + allowReplay: boolean + transcoding: { enabled: boolean enabledResolutions: number[] + + profile: string + availableProfiles: string[] + } + + rtmp: { + port: number } } @@ -165,6 +180,10 @@ export interface ServerConfig { trending: { videos: { intervalDays: number + algorithms: { + enabled: string[] + default: string + } } }