Disable web assembly for jsmpeg player (#12502)

This commit is contained in:
Josh Hawkins
2024-07-18 10:50:30 -05:00
committed by GitHub
parent eb2363b93d
commit e5dc476c1e

View File

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