User media video quality

Options
Aditya
Aditya Posts: 4

Can anyone tell if we can improve camera feed quality, I'm using Logitech Brio 4k but still it's pixelated on edges.

this is my code -

try {
const constraints = {
video: {
facingMode: 'environment',
width: { ideal: 3840, min: 1920 }, // 4K resolution as ideal, 1080p as minimum
height: { ideal: 2160, min: 1080 } // 4K resolution as ideal, 1080p as minimum
}
};
const mediaStream = await navigator.mediaDevices.getUserMedia(constraints);

const source = createMediaStreamSource(mediaStream, { cameraType: 'back' });
await session.setSource(source);
session.source.setRenderSize(window.innerWidth, window.innerHeight);
session.play();

}
})();

Answers

  • Michael Mase
    Michael Mase Posts: 66 🔥🔥
    Options

    Hi @Aditya! Could you possibly share a screenshot?

  • Aditya
    Aditya Posts: 4
    Options

    Sure here it is, if you look closely you can see all the edges like the door frame and face edges are pixelated and if I use Google Meet or something it's very clear.

  • stevenxu
    stevenxu Posts: 597 👻
    Options

    Could you reshare? Seeing a 404

  • Aditya
    Aditya Posts: 4
    Options