From bdc0ed0faddac6fcbf5845741bad9ffc4854be06 Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Tue, 21 Nov 2023 19:49:13 -0500 Subject: [PATCH] Setting CRC false on the Ogg bitstream object to see if the problem with the CRC component goes away --- breadbot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/breadbot.js b/breadbot.js index 48ae887..7579f1c 100644 --- a/breadbot.js +++ b/breadbot.js @@ -134,7 +134,8 @@ client.on(Events.VoiceStateUpdate, async (oldState, newState) => { }), pageSizeControl: { maxPackets: 10 - } + }, + crc: false })) .pipe(fs.createWriteStream("." + path.sep + "media" + path.sep + "voice_audio" + path.sep + newCallID + path.sep + `${Date.now()}-${user_id}.ogg`))