Use canvas2d renderer for jsmpeg player (#12498)

This commit is contained in:
Josh Hawkins 2024-07-18 07:59:12 -05:00 committed by GitHub
parent 6addf4d88b
commit 7bfebd5b61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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