0c9668f779
Move ffmpeg functions to @shared
34 lines
965 B
TypeScript
34 lines
965 B
TypeScript
export type RunnerJobVODPrivatePayload =
|
|
RunnerJobVODWebVideoTranscodingPrivatePayload |
|
|
RunnerJobVODAudioMergeTranscodingPrivatePayload |
|
|
RunnerJobVODHLSTranscodingPrivatePayload
|
|
|
|
export type RunnerJobPrivatePayload =
|
|
RunnerJobVODPrivatePayload |
|
|
RunnerJobLiveRTMPHLSTranscodingPrivatePayload
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
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
|
|
}
|