Fix live play

This commit is contained in:
Chocobozzz
2022-04-19 16:22:01 +02:00
parent 156cdbac22
commit 023c3ca2e7

View File

@@ -90,7 +90,7 @@ export class HLSOptionsBuilder {
},
segments: {
swarmId: this.options.p2pMediaLoader.playlistUrl,
forwardSegmentCount: specificLiveOrVODOptions.p2pDownloadMaxPriority
forwardSegmentCount: specificLiveOrVODOptions.p2pDownloadMaxPriority ?? 20
}
}
}