Use webgl jsmpeg renderer for birdseye (#13592)

This commit is contained in:
Josh Hawkins
2024-09-06 14:26:16 -05:00
committed by GitHub
parent 149339a8d9
commit 17fa830851

View File

@@ -123,8 +123,8 @@ export default function JSMpegPlayer({
{ {
protocols: [], protocols: [],
audio: false, audio: false,
disableGl: true, disableGl: camera != "birdseye",
disableWebAssembly: true, disableWebAssembly: camera != "birdseye",
videoBufferSize: 1024 * 1024 * 4, videoBufferSize: 1024 * 1024 * 4,
onVideoDecode: () => { onVideoDecode: () => {
if (!hasDataRef.current) { if (!hasDataRef.current) {