diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-19 16:22:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-04-19 16:24:49 +0200 |
commit | 023c3ca2e7337851d90c5acf813372894906d2ae (patch) | |
tree | 99df0590980c68a8c92b43097892e3dfb5e49330 /client/src | |
parent | 156cdbac227b5501116a66063812b9fc9b0e89c7 (diff) | |
download | PeerTube-023c3ca2e7337851d90c5acf813372894906d2ae.tar.gz PeerTube-023c3ca2e7337851d90c5acf813372894906d2ae.tar.zst PeerTube-023c3ca2e7337851d90c5acf813372894906d2ae.zip |
Fix live play
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/assets/player/shared/manager-options/hls-options-builder.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
90 | }, | 90 | }, |
91 | segments: { | 91 | segments: { |
92 | swarmId: this.options.p2pMediaLoader.playlistUrl, | 92 | swarmId: this.options.p2pMediaLoader.playlistUrl, |
93 | forwardSegmentCount: specificLiveOrVODOptions.p2pDownloadMaxPriority | 93 | forwardSegmentCount: specificLiveOrVODOptions.p2pDownloadMaxPriority ?? 20 |
94 | } | 94 | } |
95 | } | 95 | } |
96 | } | 96 | } |