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.48k stars 1.75k forks source link

Documentation: Difference to MediaRecorder? #715

Open yennor opened 3 years ago

yennor commented 3 years ago

By just looking at the documentation I can't find out, why I should use RecordRTC instead of the default MediaRecorder included in the Browsers? Is it just a wrapper for MediaRecorder? (it doesn't seem so, since it also supports safari for recording video). So what does it do different? I couldn't find that information somewhere (I've got some guesses, but am not really sure).

Would be great if that could be mentioned in the documentation.

trackedsupport commented 3 years ago

I think the MediaRecorder is enabled by default on some Safari browsers. You can also enable it with the experimental features. I think RecordRTC is a wrapper for MediaRecorder and others but also can store blobs. I eventually pulled RecordRTC out but I am now trying to put it back in since it has a MultiStreamMixer. But I had to pull that out too since it has some memory consumption issues.