diff options
author | Chocobozzz <me@florianbigard.com> | 2020-09-17 09:20:52 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e (patch) | |
tree | 79304b0152b0a38d33b26e65d4acdad0da4032a7 /shared/extra-utils | |
parent | 110d463fece85e87a26aca48a6048ae0017a27b3 (diff) | |
download | PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.gz PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.zst PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.zip |
Live streaming implementation first step
Diffstat (limited to 'shared/extra-utils')
-rw-r--r-- | shared/extra-utils/server/config.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts index 3ae1c6e67..3606976bd 100644 --- a/shared/extra-utils/server/config.ts +++ b/shared/extra-utils/server/config.ts | |||
@@ -126,6 +126,21 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti | |||
126 | enabled: false | 126 | enabled: false |
127 | } | 127 | } |
128 | }, | 128 | }, |
129 | live: { | ||
130 | enabled: true, | ||
131 | transcoding: { | ||
132 | enabled: true, | ||
133 | threads: 4, | ||
134 | resolutions: { | ||
135 | '240p': true, | ||
136 | '360p': true, | ||
137 | '480p': true, | ||
138 | '720p': true, | ||
139 | '1080p': true, | ||
140 | '2160p': true | ||
141 | } | ||
142 | } | ||
143 | }, | ||
129 | import: { | 144 | import: { |
130 | videos: { | 145 | videos: { |
131 | http: { | 146 | http: { |