Skip to content

ondataavailable not fired with waveWorker #274

@alqa-dash

Description

@alqa-dash

Hello,

As stated in documentation:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions