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/models/runners/runner-job-private-payload.model.ts | |
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/models/runners/runner-job-private-payload.model.ts')
-rw-r--r-- | shared/models/runners/runner-job-private-payload.model.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/shared/models/runners/runner-job-private-payload.model.ts b/shared/models/runners/runner-job-private-payload.model.ts index c1d8d1045..c8fe0a7d8 100644 --- a/shared/models/runners/runner-job-private-payload.model.ts +++ b/shared/models/runners/runner-job-private-payload.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { VideoStudioTaskPayload } from '../server' | ||
2 | |||
1 | export type RunnerJobVODPrivatePayload = | 3 | export type RunnerJobVODPrivatePayload = |
2 | RunnerJobVODWebVideoTranscodingPrivatePayload | | 4 | RunnerJobVODWebVideoTranscodingPrivatePayload | |
3 | RunnerJobVODAudioMergeTranscodingPrivatePayload | | 5 | RunnerJobVODAudioMergeTranscodingPrivatePayload | |
@@ -5,7 +7,8 @@ export type RunnerJobVODPrivatePayload = | |||
5 | 7 | ||
6 | export type RunnerJobPrivatePayload = | 8 | export type RunnerJobPrivatePayload = |
7 | RunnerJobVODPrivatePayload | | 9 | RunnerJobVODPrivatePayload | |
8 | RunnerJobLiveRTMPHLSTranscodingPrivatePayload | 10 | RunnerJobLiveRTMPHLSTranscodingPrivatePayload | |
11 | RunnerJobVideoEditionTranscodingPrivatePayload | ||
9 | 12 | ||
10 | // --------------------------------------------------------------------------- | 13 | // --------------------------------------------------------------------------- |
11 | 14 | ||
@@ -32,3 +35,10 @@ export interface RunnerJobLiveRTMPHLSTranscodingPrivatePayload { | |||
32 | masterPlaylistName: string | 35 | masterPlaylistName: string |
33 | outputDirectory: string | 36 | outputDirectory: string |
34 | } | 37 | } |
38 | |||
39 | // --------------------------------------------------------------------------- | ||
40 | |||
41 | export interface RunnerJobVideoEditionTranscodingPrivatePayload { | ||
42 | videoUUID: string | ||
43 | originalTasks: VideoStudioTaskPayload[] | ||
44 | } | ||