You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did noticed the case 'doneRecoding' in recorderWorker.js throw when e.data.recordOpus is false. Seems instanceof fail, because importScripts( 'oggopus.js' ) has not run and the type has not loaded.The behaviour is a bit annoying in a Chrome's debugger, because it halts the worker thread. Here's the snippet:
case 'doneRecording':
if ( this.recorder instanceof OggOpus ) {
this.recorder.encodeFinalFrame();
}
break;
case 'init':
if ( e.data.recordOpus ) {
importScripts( 'oggopus.js' );
this.recorder = new OggOpus( e.data );
}
else {
importScripts( 'wavepcm.js' );
this.recorder = new WavePCM( e.data );
}
break;
The text was updated successfully, but these errors were encountered:
Nice piece of work!
I did noticed the case 'doneRecoding' in recorderWorker.js throw when e.data.recordOpus is false. Seems instanceof fail, because importScripts( 'oggopus.js' ) has not run and the type has not loaded.The behaviour is a bit annoying in a Chrome's debugger, because it halts the worker thread. Here's the snippet:
The text was updated successfully, but these errors were encountered: