Skip to content

PCM audio playback got interrupted on Node 20 #1492

@jimchen5209

Description

@jimchen5209

Not sure what's changed in Node 20 to affect this.

After upgrading Node from 18 to 20, the voice got interrupted at about 200ms when I attempted to play a PCM file, without any error or disconnection.
It works fine when I play an OPUS file.
If I downgrade to Node 18, everything works fine again.

I've tested across Node 18 to 21, it breaks only on version >= 20.

I've created a repo to reproduce this bug at https://github.com/jimchen5209/eris-node20-bug.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions