mirror of https://github.com/Chocobozzz/PeerTube
Fix live play
parent
156cdbac22
commit
023c3ca2e7
|
@ -90,7 +90,7 @@ export class HLSOptionsBuilder {
|
||||||
},
|
},
|
||||||
segments: {
|
segments: {
|
||||||
swarmId: this.options.p2pMediaLoader.playlistUrl,
|
swarmId: this.options.p2pMediaLoader.playlistUrl,
|
||||||
forwardSegmentCount: specificLiveOrVODOptions.p2pDownloadMaxPriority
|
forwardSegmentCount: specificLiveOrVODOptions.p2pDownloadMaxPriority ?? 20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue