]>
Commit | Line | Data |
---|---|---|
0c9668f7 | 1 | |
0c9668f7 C |
2 | import { MUserId, MVideoFile, MVideoFullLight } from '@server/types/models' |
3 | ||
4 | export abstract class AbstractJobBuilder { | |
5 | ||
6 | abstract createOptimizeOrMergeAudioJobs (options: { | |
7 | video: MVideoFullLight | |
8 | videoFile: MVideoFile | |
9 | isNewVideo: boolean | |
10 | user: MUserId | |
9a3db678 | 11 | videoFileAlreadyLocked: boolean |
0c9668f7 C |
12 | }): Promise<any> |
13 | ||
14 | abstract createTranscodingJobs (options: { | |
15 | transcodingType: 'hls' | 'webtorrent' | |
16 | video: MVideoFullLight | |
17 | resolutions: number[] | |
18 | isNewVideo: boolean | |
19 | user: MUserId | null | |
20 | }): Promise<any> | |
0c9668f7 | 21 | } |