From a94b61ef91b303d6c87504f7d0d3d6b51b436440 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 21 Jul 2021 08:11:16 -0500 Subject: [PATCH] increase jsmpeg buffer size --- web/src/components/JSMpegPlayer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/JSMpegPlayer.jsx b/web/src/components/JSMpegPlayer.jsx index 9e45b598d..a021c4953 100644 --- a/web/src/components/JSMpegPlayer.jsx +++ b/web/src/components/JSMpegPlayer.jsx @@ -12,7 +12,7 @@ export default function JSMpegPlayer({ camera }) { playerRef.current, url, {}, - {protocols: [], audio: false} + {protocols: [], audio: false, videoBufferSize: 1024*1024*4} ); const fullscreen = () => {