diff options
author | Chocobozzz <me@florianbigard.com> | 2020-09-17 09:20:52 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e (patch) | |
tree | 79304b0152b0a38d33b26e65d4acdad0da4032a7 /scripts/create-transcoding-job.ts | |
parent | 110d463fece85e87a26aca48a6048ae0017a27b3 (diff) | |
download | PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.gz PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.zst PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.zip |
Live streaming implementation first step
Diffstat (limited to 'scripts/create-transcoding-job.ts')
-rwxr-xr-x | scripts/create-transcoding-job.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-transcoding-job.ts b/scripts/create-transcoding-job.ts index 7ee0050e3..78eb455aa 100755 --- a/scripts/create-transcoding-job.ts +++ b/scripts/create-transcoding-job.ts | |||
@@ -43,7 +43,7 @@ async function run () { | |||
43 | if (program.generateHls) { | 43 | if (program.generateHls) { |
44 | const resolutionsEnabled = program.resolution | 44 | const resolutionsEnabled = program.resolution |
45 | ? [ program.resolution ] | 45 | ? [ program.resolution ] |
46 | : computeResolutionsToTranscode(videoFileResolution).concat([ videoFileResolution ]) | 46 | : computeResolutionsToTranscode(videoFileResolution, 'vod').concat([ videoFileResolution ]) |
47 | 47 | ||
48 | for (const resolution of resolutionsEnabled) { | 48 | for (const resolution of resolutionsEnabled) { |
49 | dataInput.push({ | 49 | dataInput.push({ |