'Switch the camera while recording RecordRTC

With RecordRTC, I am creating a mobile app that allows users to record videos. I want to be able to switch between front and rear cameras while recording without stopping the process. The camera can be switched, but I lose the video recorded before switching cameras. Is there any example of how I can do that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source