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.58k stars 1.76k forks source link

Question about mediaStream Clone #620

Closed asadrazashah closed 4 years ago

asadrazashah commented 4 years ago

I want to to record a video in three different sections with the ability to record a section again ,behind the scene all I am doing is pausing and resuming the video stream ,but for recording a section again I am thinking to clone stream from first section and overwrite the original stream in second section and cloning the result of the original stream again and overwriting it in third section ,is it possible with stream.clone() ,is this method possible ? Thanks