From 023c3ca2e7337851d90c5acf813372894906d2ae Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 19 Apr 2022 16:22:01 +0200 Subject: Fix live play --- client/src/assets/player/shared/manager-options/hls-options-builder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/assets/player/shared/manager-options/hls-options-builder.ts b/client/src/assets/player/shared/manager-options/hls-options-builder.ts index 1262cf4e8..cdfad0f4c 100644 --- a/client/src/assets/player/shared/manager-options/hls-options-builder.ts +++ b/client/src/assets/player/shared/manager-options/hls-options-builder.ts @@ -90,7 +90,7 @@ export class HLSOptionsBuilder { }, segments: { swarmId: this.options.p2pMediaLoader.playlistUrl, - forwardSegmentCount: specificLiveOrVODOptions.p2pDownloadMaxPriority + forwardSegmentCount: specificLiveOrVODOptions.p2pDownloadMaxPriority ?? 20 } } } -- cgit v1.2.3