Chronny
Chronny
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
thanks for the help btw
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
thats why it says that
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
it was set to pcm
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
ok acc i just realized
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
is there a way to check
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
how would ik that
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
const pcmData = encoder.decode(opus)
const pcmData = encoder.decode(opus)
but even this itself did not work
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
idk im just testing if that will work
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
using @discordjs/opus
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
just tryna decode opus into pcm
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
basically here's my code
14 replies
DIAdiscord.js - Imagine an app
Created by Chronny on 2/9/2024 in #djs-voice
The compressed data passed is corrupted
export function test(opus: Buffer): Readable {
const encoder = new OpusEncoder(48000, 2)

const pcmData = encoder.decode(Buffer.from(opus))
return Readable.from(pcmData)
}
export function test(opus: Buffer): Readable {
const encoder = new OpusEncoder(48000, 2)

const pcmData = encoder.decode(Buffer.from(opus))
return Readable.from(pcmData)
}
14 replies