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 } } }