feat: keep the last 5 minutes of buffer (#3665)

This commit is contained in:
ac615223s5
2024-06-12 14:31:57 -04:00
committed by GitHub
parent 052ab7ef7d
commit 4c360eed24

View File

@@ -364,6 +364,7 @@ export default {
"streaming.bufferingGoal", "streaming.bufferingGoal",
Math.max(this.getPreferenceNumber("bufferGoal", 10), 10), Math.max(this.getPreferenceNumber("bufferGoal", 10), 10),
); );
localPlayer.configure("streaming.bufferBehind", 300);
this.setPlayerAttrs(localPlayer, videoEl, uri, mime, this.$shaka); this.setPlayerAttrs(localPlayer, videoEl, uri, mime, this.$shaka);
}); });