airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
206 stars 11 forks source link

[Feature Request] `Camera` exposure control #3514

Open itlancer opened 1 month ago

itlancer commented 1 month ago

Feature Description

AIR should have a way to control Camera exposure. It essentially to control how light or dark image from camera will be. First of all it interested for Windows, Linux and Android platforms. It need to be controlled via AIR APIs.

Some references: https://learn.microsoft.com/en-us/windows/win32/wia/-wia-wiaitempropcameradevice https://developer.android.com/reference/android/hardware/Camera.Parameters#setAutoExposureLock(boolean) https://developer.android.com/reference/android/hardware/Camera.Parameters#setExposureCompensation(int) https://developer.android.com/reference/android/hardware/camera2/CameraCharacteristics#SENSOR_INFO_EXPOSURE_TIME_RANGE https://developer.apple.com/documentation/avfoundation/avcapturedevice/exposure?language=objc

Related issues: https://github.com/airsdk/Adobe-Runtime-Support/issues/3426 https://github.com/airsdk/Adobe-Runtime-Support/issues/3100 https://github.com/airsdk/Adobe-Runtime-Support/issues/3048 https://github.com/airsdk/Adobe-Runtime-Support/issues/2699 https://github.com/airsdk/Adobe-Runtime-Support/issues/2693 https://github.com/airsdk/Adobe-Runtime-Support/issues/2691 https://github.com/airsdk/Adobe-Runtime-Support/issues/2687 https://github.com/airsdk/Adobe-Runtime-Support/issues/2029 https://github.com/airsdk/Adobe-Runtime-Support/issues/2006 https://github.com/airsdk/Adobe-Runtime-Support/issues/2005 https://github.com/airsdk/Adobe-Runtime-Support/issues/1993 https://github.com/airsdk/Adobe-Runtime-Support/issues/1992 https://github.com/airsdk/Adobe-Runtime-Support/issues/1980 https://github.com/airsdk/Adobe-Runtime-Support/issues/1895 https://github.com/airsdk/Adobe-Runtime-Support/issues/1802 https://github.com/airsdk/Adobe-Runtime-Support/issues/1348 https://github.com/airsdk/Adobe-Runtime-Support/issues/1344 https://github.com/airsdk/Adobe-Runtime-Support/issues/305

Known Workarounds

none *Write own native extension to work with camera.