Set White Balance, ISO, Aperture & Shutter Speed with Night Mode and Exposure using CameraX and Camera2

I'm trying to set the camera preview White Balance, ISO, Aperture & Shutter Speed with Night Mode and Exposure settings for my app. I have set night mode and exposure setting using CameraX, and figured out settings option for rest of the settings using Camera 2. How can I use CameraX and Camera2 at the same time for camera preview? Thanks in advance!

Upvotes: 0

Views: 1383

Answers (1)

Wasim Ansari
Wasim Ansari

Reputation: 475

You can use Camera2Interop to add custom Custom capture request in your use cases.

Refer this answer: https://stackoverflow.com/a/60583685/11861734

Upvotes: 0

Related Questions