beaufortfrancois / sandbox

:baby_chick:
MIT License
71 stars 32 forks source link

Unable to get few properties like brightness, contrast & sharpness etc in mac OS. #24

Open imrameshk opened 1 year ago

imrameshk commented 1 year ago

We are use the link - https://beaufortfrancois.github.io/sandbox/image-capture/playground.html to access build in camera using chrome browser.

We are unable to get few properties like brightness, contrast & sharpness etc in mac OS.

mac OS : 13.4.1 (22F82) chip : Apple M1 Pro Camera : built in laptop camera

The same is working fine in windows. Could you please help us on this regard?

imrameshk commented 1 year ago

@beaufortfrancois

beaufortfrancois commented 1 year ago

This is not implemented in Chrome browser for macOS yet.

imrameshk commented 1 year ago

Does it work in any other browser? I tried in safari and it didn’t work either. Any permission issue in macOS? Can you help?

beaufortfrancois commented 1 year ago

It does not work on macOS in all browsers AFAIK because it is not implemented but it could be.

imrameshk commented 1 year ago

If you can help me make it work in macOS, it would be of great help or if you come across any browser in which it works in macOS, it would be helpful. Thanks for your response and support

beaufortfrancois commented 1 year ago

You can look at https://source.chromium.org/chromium/chromium/src/+/main:media/capture/video/apple/video_capture_device_apple.mm;l=170 and see what is done for other APIs.

imrameshk commented 1 year ago

Thank you so much. Will take a look.