Skip to content

[BUG]: Failed to create audio context #393

@techpro-sachin

Description

@techpro-sachin

python/agent/Real time conversational agent

I am getting following error. Running it on VM - Ubuntu 24.04 LTS, Node 22

Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: No execution context available.

In client/serc/hooks/In useLiveConnection.useCallback[setupAudioRecording]
const workletNode = new AudioWorkletNode(audioCtx, "audio-recorder-processor");

This is happening after calling - audioCtx.audioWorklet.addModule(RECORDER_WORKLET_PATH);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjavascriptPull requests that update javascript code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions