diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-04 15:29:34 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | 5e47f6ab984a7d00782e4c7030afffa1ba480add (patch) | |
tree | 1ce586b591a8d71acbc301eba29b9a5e6490439e /shared/server-commands/server | |
parent | 6a4905602636afd6650c9e6f4d0fcc2105d91100 (diff) | |
download | PeerTube-5e47f6ab984a7d00782e4c7030afffa1ba480add.tar.gz PeerTube-5e47f6ab984a7d00782e4c7030afffa1ba480add.tar.zst PeerTube-5e47f6ab984a7d00782e4c7030afffa1ba480add.zip |
Support studio transcoding in peertube runner
Diffstat (limited to 'shared/server-commands/server')
-rw-r--r-- | shared/server-commands/server/config-command.ts | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/shared/server-commands/server/config-command.ts b/shared/server-commands/server/config-command.ts index 9a6e413f2..b94bd2625 100644 --- a/shared/server-commands/server/config-command.ts +++ b/shared/server-commands/server/config-command.ts | |||
@@ -195,6 +195,18 @@ export class ConfigCommand extends AbstractCommand { | |||
195 | }) | 195 | }) |
196 | } | 196 | } |
197 | 197 | ||
198 | enableRemoteStudio () { | ||
199 | return this.updateExistingSubConfig({ | ||
200 | newConfig: { | ||
201 | videoStudio: { | ||
202 | remoteRunners: { | ||
203 | enabled: true | ||
204 | } | ||
205 | } | ||
206 | } | ||
207 | }) | ||
208 | } | ||
209 | |||
198 | // --------------------------------------------------------------------------- | 210 | // --------------------------------------------------------------------------- |
199 | 211 | ||
200 | enableStudio () { | 212 | enableStudio () { |
@@ -442,7 +454,10 @@ export class ConfigCommand extends AbstractCommand { | |||
442 | } | 454 | } |
443 | }, | 455 | }, |
444 | videoStudio: { | 456 | videoStudio: { |
445 | enabled: false | 457 | enabled: false, |
458 | remoteRunners: { | ||
459 | enabled: false | ||
460 | } | ||
446 | }, | 461 | }, |
447 | import: { | 462 | import: { |
448 | videos: { | 463 | videos: { |