muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.46k stars 1.75k forks source link

Switch the camera while recording #804

Open Rahaaaa opened 2 years ago

Rahaaaa commented 2 years ago

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?