DBR_WASM uses Webassembly technology which requires a higher browser version.

In most browsers, you need to deploy page to the site and set .wasm mimetype to application/wasm on the server side to debug and run it. Please check the settings below for different environments.

On Firefox, you can open the page and debug/run directly from the file browser

You may encounter this error when you run several other samples with video

[Deprecation] getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See for more details.

That's because most browsers today need to be deployed on https to use getUserMedia. Below are some samples for configuring an HTTPS server.

If you really need to access video on an http site, you can use our DCS product.

For mobile browser

If you want to use DBR_WASM on your mobile browser (most developers are under this usage scenario), you need to be aware that the mobile devices' memory is very limited.

Before decoding a large image(e.g. in our demo, we have a limit of 480*480), you'd better intercept or compress the image. It will prevent your site from crash though the decode rate will decrease.

We provide a special interface for processing video decodeVideo to capture and decode a small area of the video on the video.

results matching ""

    No results matching ""