blob: d7c614fb8873744b2e1da20e3c964b06d36fb1e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { JobScheduler, JobHandler } from '../job-scheduler'
import * as videoFileOptimizer from './video-file-optimizer-handler'
import * as videoFileTranscoder from './video-file-transcoder-handler'
import { JobCategory } from '../../../../shared'
const jobHandlers: { [ handlerName: string ]: JobHandler<any> } = {
videoFileOptimizer,
videoFileTranscoder
}
const jobCategory: JobCategory = 'transcoding'
const transcodingJobScheduler = new JobScheduler(jobCategory, jobHandlers)
export {
transcodingJobScheduler
}
|