diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-21 15:58:17 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-21 15:58:17 +0100 |
commit | 24516aa26a6753517b379cf7b5104c1a24eccad6 (patch) | |
tree | a94b561faa63238f8ac69848f6b0379f0ade08a2 /server/lib/job-queue/handlers/video-live-ending.ts | |
parent | 3b01f4c0ac764ecb70efaadfd939ca868c28769c (diff) | |
download | PeerTube-24516aa26a6753517b379cf7b5104c1a24eccad6.tar.gz PeerTube-24516aa26a6753517b379cf7b5104c1a24eccad6.tar.zst PeerTube-24516aa26a6753517b379cf7b5104c1a24eccad6.zip |
Refactor transcoding job handlers
Diffstat (limited to 'server/lib/job-queue/handlers/video-live-ending.ts')
-rw-r--r-- | server/lib/job-queue/handlers/video-live-ending.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/job-queue/handlers/video-live-ending.ts b/server/lib/job-queue/handlers/video-live-ending.ts index 8018e2277..db6cd3682 100644 --- a/server/lib/job-queue/handlers/video-live-ending.ts +++ b/server/lib/job-queue/handlers/video-live-ending.ts | |||
@@ -7,7 +7,7 @@ import { LiveManager } from '@server/lib/live-manager' | |||
7 | import { generateVideoMiniature } from '@server/lib/thumbnail' | 7 | import { generateVideoMiniature } from '@server/lib/thumbnail' |
8 | import { publishAndFederateIfNeeded } from '@server/lib/video' | 8 | import { publishAndFederateIfNeeded } from '@server/lib/video' |
9 | import { getHLSDirectory } from '@server/lib/video-paths' | 9 | import { getHLSDirectory } from '@server/lib/video-paths' |
10 | import { generateHlsPlaylistFromTS } from '@server/lib/video-transcoding' | 10 | import { generateHlsPlaylistResolutionFromTS } from '@server/lib/video-transcoding' |
11 | import { VideoModel } from '@server/models/video/video' | 11 | import { VideoModel } from '@server/models/video/video' |
12 | import { VideoFileModel } from '@server/models/video/video-file' | 12 | import { VideoFileModel } from '@server/models/video/video-file' |
13 | import { VideoLiveModel } from '@server/models/video/video-live' | 13 | import { VideoLiveModel } from '@server/models/video/video-live' |
@@ -102,7 +102,7 @@ async function saveLive (video: MVideo, live: MVideoLive) { | |||
102 | 102 | ||
103 | const { videoFileResolution, isPortraitMode } = await getVideoFileResolution(concatenatedTsFilePath, probe) | 103 | const { videoFileResolution, isPortraitMode } = await getVideoFileResolution(concatenatedTsFilePath, probe) |
104 | 104 | ||
105 | const outputPath = await generateHlsPlaylistFromTS({ | 105 | const outputPath = await generateHlsPlaylistResolutionFromTS({ |
106 | video: videoWithFiles, | 106 | video: videoWithFiles, |
107 | concatenatedTsFilePath, | 107 | concatenatedTsFilePath, |
108 | resolution: videoFileResolution, | 108 | resolution: videoFileResolution, |