ivirtex
DIAdiscord.js - Imagine an app
•Created by ivirtex on 2/19/2025 in #djs-voice
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.
26 replies