Camera streaming with javascript

Hello, I’m working with the IMX219-83 Stereo Camera and I’m trying to get a streaming video with javascript.

I’m using the following code:

video = document.getElementById(‘video’);
const stream = await navigator.mediaDevices.getUserMedia({
‘audio’: false,
‘video’: true,
video.srcObject = stream;

This should work for any other camera, but it doesn’t work for that one. Does someone know why it doesn’t work and how to fix it?


I don’t the CSI camera support java.
For the CSI bayer sensor suggest to use gstreamer or argus API.