You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.
console.log-ing line 2431 shows this
{ Error: INVALID_PACKET
at new OpusError (/home/pantheon/Desktop/PadmaRecorder/node_modules/cjopus/lib/Opus.js:128:17)
at OpusEncoder.decode (/home/pantheon/Desktop/PadmaRecorder/node_modules/cjopus/lib/Opus.js:89:30)
at AudioCB.handleIncomingAudio (/home/pantheon/Desktop/PadmaRecorder/node_modules/discord.io/lib/index.js:2423:30)
at Socket.emit (events.js:180:13)
at UDP.onMessage [as onmessage] (dgram.js:659:8) code: -4 }
I'm trying to make a voice recorder, but the voice stream doesn't feed data.
`
client.getAudioContext({channelID: member.voice_channel_id, maxStreamSize: config.maxStreamSize * 1024}, function(error, stream) {
let fn = path.join(recordingsPath, Date.now() + ".raw");
let ws = fs.createWriteStream(fn, {end: false});
});`
The text was updated successfully, but these errors were encountered: