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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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