How to fill video element with camera image?

I am displaying camera at video element.
I set video element at 16:9 ratio.
But because the image from camera is not 16:9, blank parts appear from both sides.(in gray color)

image

How can I resize image and so fill video element?

I didn’t try but editing VIDEO_LAYOUT_FIT in interface_config.js may work for web clients

This worked for me.

video {
object-fit: fill;
}

hi, i am unable to access my camera while join a meet

:man_shrugging:

ask veterans, sorry

Run a test at test.webrtc.org and share your results.