ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix uploading hls caption after transcoding
Chocobozzzf78c01f0b513
diff --git a/server/core/lib/video-captions.ts b/server/core/lib/video-captions.tsindex 9e6ddeb82f..08a4af675d 100644--- a/server/core/lib/video-captions.ts+++ b/server/core/lib/video-captions.ts@@ -74,6 +74,8 @@ export async function createAllCaptionPlaylistsOnFSIfNeeded (video: MVideo) {for (const caption of captions) {if (caption.m3u8Filename) continue+ // If object storage is enabled, the move to object storage job will upload the playlist on the fly+ if (CONFIG.OBJECT_STORAGE.ENABLED) continuetry {caption.m3u8Filename = await upsertCaptionPlaylistOnFS(caption, video)