1 import { LiveRTMPHLSTranscodingJobHandler } from '@server/lib/runners'
2 import { AbstractTranscodingWrapper } from './abstract-transcoding-wrapper'
4 export class RemoteTranscodingWrapper extends AbstractTranscodingWrapper {
6 await new LiveRTMPHLSTranscodingJobHandler().create({
7 rtmpUrl: this.inputPublicUrl,
8 sessionId: this.sessionId,
9 toTranscode: this.toTranscode,
10 video: this.videoLive.Video,
11 outputDirectory: this.outDirectory,
12 playlist: this.streamingPlaylist,
13 segmentListSize: this.segmentListSize,
14 segmentDuration: this.segmentDuration