phonegap / phonegap-plugin-media-recorder

Apache License 2.0
14 stars 20 forks source link

Fire MediaRecorder.onerror() event when errors occur #8

Open macdonst opened 7 years ago

macdonst commented 7 years ago

In the MediaRecorder.js file everywhere we get execute the callback failure we only do a console.log. Instead we should be firing the onerror event.

macdonst commented 6 years ago

The JS side looks good. Please do a review of the native side to make sure a CDVCommandStatus_ERROR is being sent when things go wrong on both audio and video recording.