From 8059e050ef4e800c95851ac97abbb2330fe17882 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 27 Jan 2023 08:30:56 +0100 Subject: Fix live with base url object storage --- server/lib/live/live-manager.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/lib/live') diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts index 9ea983119..fa4e1df07 100644 --- a/server/lib/live/live-manager.ts +++ b/server/lib/live/live-manager.ts @@ -487,7 +487,9 @@ class LiveManager { ? VideoStorage.OBJECT_STORAGE : VideoStorage.FILE_SYSTEM - playlist.assignP2PMediaLoaderInfoHashes(video, allResolutions) + if (playlist.storage === VideoStorage.FILE_SYSTEM) { + playlist.assignP2PMediaLoaderInfoHashes(video, allResolutions) + } return playlist.save() } -- cgit v1.2.3