aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/assets/player/peertube-player-options-builder.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player-options-builder.ts b/client/src/assets/player/peertube-player-options-builder.ts
index 71be5ccff..7a82b128d 100644
--- a/client/src/assets/player/peertube-player-options-builder.ts
+++ b/client/src/assets/player/peertube-player-options-builder.ts
@@ -268,10 +268,14 @@ export class PeertubePlayerOptionsBuilder {
268 268
269 return { 269 return {
270 trackerAnnounce, 270 trackerAnnounce,
271 segmentValidator: segmentValidatorFactory(this.options.p2pMediaLoader.segmentsSha256Url, this.options.common.isLive),
272 rtcConfig: getRtcConfig(), 271 rtcConfig: getRtcConfig(),
272
273 simultaneousHttpDownloads: 1, 273 simultaneousHttpDownloads: 1,
274 httpFailedSegmentTimeout: 1000,
275
276 segmentValidator: segmentValidatorFactory(this.options.p2pMediaLoader.segmentsSha256Url, this.options.common.isLive),
274 segmentUrlBuilder: segmentUrlBuilderFactory(redundancyUrlManager, 1), 277 segmentUrlBuilder: segmentUrlBuilderFactory(redundancyUrlManager, 1),
278
275 useP2P: this.options.common.p2pEnabled, 279 useP2P: this.options.common.p2pEnabled,
276 consumeOnly, 280 consumeOnly,
277 281