streamproc / MediaStreamRecorder

Cross browser audio/video/screen recording. It supports Chrome, Firefox, Opera and Microsoft Edge. It even works on Android browsers. It follows latest MediaRecorder API standards and provides similar APIs.
https://www.webrtc-experiment.com/msr/
MIT License
2.62k stars 563 forks source link

Fixed #50 (Failed to construct 'AudioContext') #137

Closed suhaibjanjua closed 7 years ago

suhaibjanjua commented 7 years ago

AudioContext was not closing when recording is stopped. That's why after few attempts the hardware reaches to the maximum contexts bound limit which is (6). This commit fixed the #50 issue by closing the existing context so that no matter how much times you start/stop recording; it never produces.