Open realtek8723 opened 6 years ago
mediaRecorder.onerror = function(error) {
if (!error) {
return;
}
if (!error.name) {
error.name = 'UnknownError';
}
// rest of the code goes here
};
Hi, I appreciate your quick response,Thanks!! Yes, I tried the above code snippet but the recording is stopped anyway. I will share the screenshot of console. please take a look into it. Thank you in Advance.
Please share complete demo. I want to check if MediaStream is still active, including all its tracks.
Hi, Muaz Khan
I have an issue in chrome. Uncaught TypeError: Cannot read property 'toString' of undefined at MediaRecorder.mediaRecorder.onerror (RecordRTC.js:1990) .
previously it worked fine. Can you help me solving this issue. This is the code where i'm getting the error. The mediaStream is stopped recording.