Please describe the problem you are having in as much detail as possible:
When creating a readable stream for audio, no audio is received from the on data event. This used to work a month or so ago, but no longer works. No data is passed, the on end event is never passed.
Include a reproducible code sample here, if possible:
const audioStream = voiceReceiver.createStream(member, { end: 'manual', mode: 'pcm' });
audioStream.on('data', (chunk) => {
console.log(`Received ${chunk.length} bytes of data.`);
});
Further details:
- discord.js version: 12.0.0-dev (master)
- Node.js version: v8.11.4
- Operating system: Windows 10 (also tested on Ubuntu 16.04 with node v11.0.0)
- Priority this issue should have – please be realistic and elaborate if possible:
High priority for bots needing audio receiving
Please describe the problem you are having in as much detail as possible:
When creating a readable stream for audio, no audio is received from the on data event. This used to work a month or so ago, but no longer works. No data is passed, the on end event is never passed.
Include a reproducible code sample here, if possible:
Further details:
High priority for bots needing audio receiving