diff options
Diffstat (limited to 'shared/models/runners/runner-job-payload.model.ts')
-rw-r--r-- | shared/models/runners/runner-job-payload.model.ts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/shared/models/runners/runner-job-payload.model.ts b/shared/models/runners/runner-job-payload.model.ts index 8f0c17135..9f0db0dc4 100644 --- a/shared/models/runners/runner-job-payload.model.ts +++ b/shared/models/runners/runner-job-payload.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { VideoStudioTaskPayload } from '../server' | ||
2 | |||
1 | export type RunnerJobVODPayload = | 3 | export type RunnerJobVODPayload = |
2 | RunnerJobVODWebVideoTranscodingPayload | | 4 | RunnerJobVODWebVideoTranscodingPayload | |
3 | RunnerJobVODHLSTranscodingPayload | | 5 | RunnerJobVODHLSTranscodingPayload | |
@@ -5,7 +7,8 @@ export type RunnerJobVODPayload = | |||
5 | 7 | ||
6 | export type RunnerJobPayload = | 8 | export type RunnerJobPayload = |
7 | RunnerJobVODPayload | | 9 | RunnerJobVODPayload | |
8 | RunnerJobLiveRTMPHLSTranscodingPayload | 10 | RunnerJobLiveRTMPHLSTranscodingPayload | |
11 | RunnerJobVideoEditionTranscodingPayload | ||
9 | 12 | ||
10 | // --------------------------------------------------------------------------- | 13 | // --------------------------------------------------------------------------- |
11 | 14 | ||
@@ -43,6 +46,14 @@ export interface RunnerJobVODAudioMergeTranscodingPayload { | |||
43 | } | 46 | } |
44 | } | 47 | } |
45 | 48 | ||
49 | export interface RunnerJobVideoEditionTranscodingPayload { | ||
50 | input: { | ||
51 | videoFileUrl: string | ||
52 | } | ||
53 | |||
54 | tasks: VideoStudioTaskPayload[] | ||
55 | } | ||
56 | |||
46 | // --------------------------------------------------------------------------- | 57 | // --------------------------------------------------------------------------- |
47 | 58 | ||
48 | export function isAudioMergeTranscodingPayload (payload: RunnerJobPayload): payload is RunnerJobVODAudioMergeTranscodingPayload { | 59 | export function isAudioMergeTranscodingPayload (payload: RunnerJobPayload): payload is RunnerJobVODAudioMergeTranscodingPayload { |