diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/job-queue/handlers/video-live-ending.ts | 2 | ||||
-rw-r--r-- | server/lib/video-transcoding.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/server/lib/job-queue/handlers/video-live-ending.ts b/server/lib/job-queue/handlers/video-live-ending.ts index 3d9341738..55c7a4ccb 100644 --- a/server/lib/job-queue/handlers/video-live-ending.ts +++ b/server/lib/job-queue/handlers/video-live-ending.ts | |||
@@ -123,7 +123,7 @@ async function saveLive (video: MVideo, live: MVideoLive) { | |||
123 | } | 123 | } |
124 | 124 | ||
125 | async function cleanupLive (video: MVideo, streamingPlaylist: MStreamingPlaylist) { | 125 | async function cleanupLive (video: MVideo, streamingPlaylist: MStreamingPlaylist) { |
126 | const hlsDirectory = getHLSDirectory(video, false) | 126 | const hlsDirectory = getHLSDirectory(video) |
127 | 127 | ||
128 | await remove(hlsDirectory) | 128 | await remove(hlsDirectory) |
129 | 129 | ||
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts index e267b1397..9882a14db 100644 --- a/server/lib/video-transcoding.ts +++ b/server/lib/video-transcoding.ts | |||
@@ -174,8 +174,6 @@ async function generateHlsPlaylist (options: { | |||
174 | } | 174 | } |
175 | } | 175 | } |
176 | 176 | ||
177 | logger.debug('Will run transcode.', { transcodeOptions }) | ||
178 | |||
179 | await transcode(transcodeOptions) | 177 | await transcode(transcodeOptions) |
180 | 178 | ||
181 | const playlistUrl = WEBSERVER.URL + VideoStreamingPlaylistModel.getHlsMasterPlaylistStaticPath(video.uuid) | 179 | const playlistUrl = WEBSERVER.URL + VideoStreamingPlaylistModel.getHlsMasterPlaylistStaticPath(video.uuid) |