andrew.n
Member
There is a small issue that I have after I start the streaming, If I move the app to background, and open another app etc, when I open the app again, the streaming view is frozen.
I tried to call muteVideo function on applicationWillResignActive, and call again unmuteVideo on applicationDidBecomeActive, but no luck.
But, if I call switchCamera after applicationDidBecomeActive, the video view resumes the streaming...
What is the best approach for this flow? How can I resume the video view without having to call switch camera twice?
I tried to call muteVideo function on applicationWillResignActive, and call again unmuteVideo on applicationDidBecomeActive, but no luck.
But, if I call switchCamera after applicationDidBecomeActive, the video view resumes the streaming...
What is the best approach for this flow? How can I resume the video view without having to call switch camera twice?