From 4c360eed2461c5b319c76dcafafc42eb90ccb2ca Mon Sep 17 00:00:00 2001 From: ac615223s5 Date: Wed, 12 Jun 2024 14:31:57 -0400 Subject: [PATCH] feat: keep the last 5 minutes of buffer (#3665) --- src/components/VideoPlayer.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 9aaff805..4c788fb3 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -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); });