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
rec.ondataavailable( arrayBuffer )
A callback which returns an array buffer of audio data. If streamPages is true, this will be called with each page of
encoded audio. If streamPages is false, this will be called when the recording is finished with the complete data.
But is doesn't work with: recorder = new Recorder({encoderPath: "waveWorker.min.js", streamPages: true});
I figured out than when recorder has been created this way, the waveWorker doesn't react to "flush" command neither in AudioWorkletGlobal nor in scriptProcessor scope.
I can provide pr but never did it before.
The text was updated successfully, but these errors were encountered:
alqa-dash
changed the title
ondataavailate not fired
ondataavailable not fired with wavaWorker
Jan 25, 2023
alqa-dash
changed the title
ondataavailable not fired with wavaWorker
ondataavailable not fired with waveWorker
Jan 25, 2023
Hello,
As stated in documentation:
But is doesn't work with:
recorder = new Recorder({encoderPath: "waveWorker.min.js", streamPages: true});
I figured out than when recorder has been created this way, the waveWorker doesn't react to "flush" command neither in AudioWorkletGlobal nor in scriptProcessor scope.
I can provide pr but never did it before.
The text was updated successfully, but these errors were encountered: