I am working on an app in which I want to implement video recording feature in which user can switch the camera from front to rear and vice versa (like snap chat) while recording.
I have implemented the function of switching camera, the video is getting recorded as well, but the problem is my video is getting blank/stuck from the point of switching.
I have tried with this solution but it is not working in my case.
Is there any other way to achieve this?
Thank you.