diff options
Diffstat (limited to 'server/lib/live/live-manager.ts')
-rw-r--r-- | server/lib/live/live-manager.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts index 2562edb75..b3bf5a999 100644 --- a/server/lib/live/live-manager.ts +++ b/server/lib/live/live-manager.ts | |||
@@ -3,7 +3,7 @@ import { readFile } from 'fs-extra' | |||
3 | import { createServer, Server } from 'net' | 3 | import { createServer, Server } from 'net' |
4 | import { createServer as createServerTLS, Server as ServerTLS } from 'tls' | 4 | import { createServer as createServerTLS, Server as ServerTLS } from 'tls' |
5 | import { | 5 | import { |
6 | computeResolutionsToTranscode, | 6 | computeLowerResolutionsToTranscode, |
7 | ffprobePromise, | 7 | ffprobePromise, |
8 | getVideoFileBitrate, | 8 | getVideoFileBitrate, |
9 | getVideoFileFPS, | 9 | getVideoFileFPS, |
@@ -402,7 +402,7 @@ class LiveManager { | |||
402 | 402 | ||
403 | private buildAllResolutionsToTranscode (originResolution: number) { | 403 | private buildAllResolutionsToTranscode (originResolution: number) { |
404 | const resolutionsEnabled = CONFIG.LIVE.TRANSCODING.ENABLED | 404 | const resolutionsEnabled = CONFIG.LIVE.TRANSCODING.ENABLED |
405 | ? computeResolutionsToTranscode(originResolution, 'live') | 405 | ? computeLowerResolutionsToTranscode(originResolution, 'live') |
406 | : [] | 406 | : [] |
407 | 407 | ||
408 | return resolutionsEnabled.concat([ originResolution ]) | 408 | return resolutionsEnabled.concat([ originResolution ]) |