]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/create-transcoding-job.ts
Live streaming implementation first step
[github/Chocobozzz/PeerTube.git] / scripts / create-transcoding-job.ts
index 7ee0050e39e5837857203612fb9259cbf77eadf7..78eb455aa1eb39bec2852f68d31deb647acbb62c 100755 (executable)
@@ -43,7 +43,7 @@ async function run () {
   if (program.generateHls) {
     const resolutionsEnabled = program.resolution
       ? [ program.resolution ]
-      : computeResolutionsToTranscode(videoFileResolution).concat([ videoFileResolution ])
+      : computeResolutionsToTranscode(videoFileResolution, 'vod').concat([ videoFileResolution ])
 
     for (const resolution of resolutionsEnabled) {
       dataInput.push({