2023-05-04 08:29:34 -05:00
|
|
|
import { VideoStudioTaskPayload } from '../server'
|
|
|
|
|
2023-04-21 07:55:10 -05:00
|
|
|
export type RunnerJobVODPrivatePayload =
|
|
|
|
RunnerJobVODWebVideoTranscodingPrivatePayload |
|
|
|
|
RunnerJobVODAudioMergeTranscodingPrivatePayload |
|
|
|
|
RunnerJobVODHLSTranscodingPrivatePayload
|
|
|
|
|
|
|
|
export type RunnerJobPrivatePayload =
|
|
|
|
RunnerJobVODPrivatePayload |
|
2023-05-04 08:29:34 -05:00
|
|
|
RunnerJobLiveRTMPHLSTranscodingPrivatePayload |
|
|
|
|
RunnerJobVideoEditionTranscodingPrivatePayload
|
2023-04-21 07:55:10 -05:00
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
export interface RunnerJobVODWebVideoTranscodingPrivatePayload {
|
|
|
|
videoUUID: string
|
|
|
|
isNewVideo: boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface RunnerJobVODAudioMergeTranscodingPrivatePayload {
|
|
|
|
videoUUID: string
|
|
|
|
isNewVideo: boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface RunnerJobVODHLSTranscodingPrivatePayload {
|
|
|
|
videoUUID: string
|
|
|
|
isNewVideo: boolean
|
|
|
|
deleteWebVideoFiles: boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
export interface RunnerJobLiveRTMPHLSTranscodingPrivatePayload {
|
|
|
|
videoUUID: string
|
|
|
|
masterPlaylistName: string
|
|
|
|
outputDirectory: string
|
|
|
|
}
|
2023-05-04 08:29:34 -05:00
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
export interface RunnerJobVideoEditionTranscodingPrivatePayload {
|
|
|
|
videoUUID: string
|
|
|
|
originalTasks: VideoStudioTaskPayload[]
|
|
|
|
}
|