I want to switch between cameras at the startup I have used the default than the user can switch depending on what is the current camera he's using.
so my question is: how can I get the current camera device type? and what value does it return? so I can use it inside if statement. thanks