diff options
Diffstat (limited to 'client/src/assets/player/peertube-player-manager.ts')
-rw-r--r-- | client/src/assets/player/peertube-player-manager.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts index af044c864..3d72d4609 100644 --- a/client/src/assets/player/peertube-player-manager.ts +++ b/client/src/assets/player/peertube-player-manager.ts | |||
@@ -325,7 +325,7 @@ export class PeertubePlayerManager { | |||
325 | trackerAnnounce, | 325 | trackerAnnounce, |
326 | segmentValidator: segmentValidatorFactory(options.p2pMediaLoader.segmentsSha256Url), | 326 | segmentValidator: segmentValidatorFactory(options.p2pMediaLoader.segmentsSha256Url), |
327 | rtcConfig: getRtcConfig(), | 327 | rtcConfig: getRtcConfig(), |
328 | requiredSegmentsPriority: 5, | 328 | requiredSegmentsPriority: 1, |
329 | segmentUrlBuilder: segmentUrlBuilderFactory(redundancyUrlManager), | 329 | segmentUrlBuilder: segmentUrlBuilderFactory(redundancyUrlManager), |
330 | useP2P: getStoredP2PEnabled(), | 330 | useP2P: getStoredP2PEnabled(), |
331 | consumeOnly | 331 | consumeOnly |
@@ -353,7 +353,7 @@ export class PeertubePlayerManager { | |||
353 | hlsjsConfig: { | 353 | hlsjsConfig: { |
354 | capLevelToPlayerSize: true, | 354 | capLevelToPlayerSize: true, |
355 | autoStartLoad: false, | 355 | autoStartLoad: false, |
356 | liveSyncDurationCount: 7, | 356 | liveSyncDurationCount: 5, |
357 | loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass() | 357 | loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass() |
358 | } | 358 | } |
359 | } | 359 | } |