File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 2323 if ( down ) {
2424 recorder . download ( blob , 'QB_WEBrtc_sample' + Date . now ( ) ) ;
2525 }
26+ } ,
27+ onErrorRecording : function ( error ) {
28+ console . error ( 'Recorder error' , error ) ;
29+ alert ( 'Recored is failed' + error . message ) ;
2630 }
2731 }
2832 } ;
Original file line number Diff line number Diff line change 88 * Doc: https://w3c.github.io/mediacapture-record/MediaRecorder.html
99 * Support: http://caniuse.com/#feat=mediarecorder (Firefox 47, Chrome 49, Opera 40)
1010 *
11+ * !NOTE:
12+ * 1. We recommend that you limit the duration of recording 3 minutes currently.
13+ * The long duration can lead to the crash of the tab.
14+ *
1115 * User's callbacks (listener-functions):
1216 * - onStartRecording
1317 * - onPauseRecording
You can’t perform that action at this time.
0 commit comments