Decoding Opus packets from `AudioReceiveStream` using @discordjs/opus

I have a problem with decoding Opus packets received from AudioReceiveStream using OpusEncoder from @discordjs/opus.
When I try to save decoded samples and play them, every player says they are corrupted.

I know provided example is using prism-media for that, but this would be an overkill for me.
Was this page helpful?