2023-05-04 15:29:34 +02:00
|
|
|
import { VideoStudioTaskPayload } from '../server'
|
|
|
|
|
2023-04-21 14:55:10 +02:00
|
|
|
export type RunnerJobVODPrivatePayload =
|
|
|
|
RunnerJobVODWebVideoTranscodingPrivatePayload |
|
|
|
|
RunnerJobVODAudioMergeTranscodingPrivatePayload |
|
|
|
|
RunnerJobVODHLSTranscodingPrivatePayload
|
|
|
|
|
|
|
|
export type RunnerJobPrivatePayload =
|
|
|
|
RunnerJobVODPrivatePayload |
|
2023-05-04 15:29:34 +02:00
|
|
|
RunnerJobLiveRTMPHLSTranscodingPrivatePayload |
|
2023-05-04 15:55:51 +02:00
|
|
|
RunnerJobVideoStudioTranscodingPrivatePayload
|
2023-04-21 14:55:10 +02: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-22 13:44:22 +02:00
|
|
|
sessionId: string
|
2023-04-21 14:55:10 +02:00
|
|
|
}
|
2023-05-04 15:29:34 +02:00
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
2023-05-04 15:55:51 +02:00
|
|
|
export interface RunnerJobVideoStudioTranscodingPrivatePayload {
|
2023-05-04 15:29:34 +02:00
|
|
|
videoUUID: string
|
|
|
|
originalTasks: VideoStudioTaskPayload[]
|
|
|
|
}
|