Re: [mediacapture-main] ResizeMode (crop-and-scale) is underspecified (#584)

@jan-ivar I did and they sent me here.
https://bugs.chromium.org/p/chromium/issues/detail?id=1079052

All I want to see is a way to show preference over a native aspect ratio and scale it even if that means down.
It's horrible and bug-prone to some devices that right now I have to ask for some strange res like 644x362 to trick it into doing this and it still doesn't always work.
There are many use cases for 640x360 where you don't want to crop because it's a zoom effect on the user and you end up with their head not fitting in the picture and scaling 1280x720 down at the client is better than sending a larger image for no reason.

The same applies to screen sharing. I would like to ask for 1920x1080 and have the client scale and letterbox it for me but instead, it crops it, there is not really a valid use case for cropping a screen share.

In the end, these params should allow the complete suite of flexibility for the programmer to make the camera do whatever they want.








-- 
GitHub Notification of comment by anthmFS
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/584#issuecomment-807539333 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 25 March 2021 21:38:00 UTC