Closed
Description
Problem to be addressed
In my app I need fast switch between mode photo and video, because is more comfortable for users, who use camera in my app.
I looked at source code where we switch mode and saw that on Engine.Camera1 we can stop restart camera, because it's not need. On Engine.Camera2 do it it's not simple, because you don't create video and photo recorder for one request, but we can use in one moment photo and video request.
Describe the solution you'd like
I will create PR with solution for Engine.Camera1, because I think I understood how this work.
About Camera2, I tried use both photo and video request in Engine.Camera2 and system threw exception, that telling that request bad configured. Maybe you know how we can do it on Engine.Camera2.
Additional context
This will use flag, like requestPermissions.