In web AR how increase the lighting of camera

,

I see the camera in is not having enough lighting by default , is there way to control lighting of camera through media stream api

I see some of ar implementation where is automatically on when they is no lighting

Hi Krishna_Kishore,

If you’re referring to turning on a phone’s LED light to try to better illuminate an AR experience in a low-light scenario, I don’t believe WebXR itself has any such capability (at least, I couldn’t find any reference to it). However, you could attempt to do that yourself using the MediaStream APIs; according to this draft spec, the capability I think you might be looking for is called torch. Hope this helps, and best of luck!

Hello just checking in, was your question answered? @Krishna_Kishore