aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-09-25 16:19:35 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commitfb7194043d0486ce0a6a40b2ffbdf32878c33a6f (patch)
tree6ed304a5d730a75da0a4460b3009df88684fa598 /shared/models/server
parenta5cf76afa378aae81af2a9b0ce548e5d2582f832 (diff)
downloadPeerTube-fb7194043d0486ce0a6a40b2ffbdf32878c33a6f.tar.gz
PeerTube-fb7194043d0486ce0a6a40b2ffbdf32878c33a6f.tar.zst
PeerTube-fb7194043d0486ce0a6a40b2ffbdf32878c33a6f.zip
Check live duration and size
Diffstat (limited to 'shared/models/server')
-rw-r--r--shared/models/server/custom-config.model.ts3
-rw-r--r--shared/models/server/server-config.model.ts3
2 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index e609d1a33..11b2ef2eb 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -98,6 +98,9 @@ export interface CustomConfig {
98 live: { 98 live: {
99 enabled: boolean 99 enabled: boolean
100 100
101 allowReplay: boolean
102 maxDuration: number
103
101 transcoding: { 104 transcoding: {
102 enabled: boolean 105 enabled: boolean
103 threads: number 106 threads: number
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index 77694a627..1563d848e 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -101,6 +101,9 @@ export interface ServerConfig {
101 live: { 101 live: {
102 enabled: boolean 102 enabled: boolean
103 103
104 maxDuration: number
105 allowReplay: boolean
106
104 transcoding: { 107 transcoding: {
105 enabled: boolean 108 enabled: boolean
106 109