70/74-byte UDP packets

Hey there, I was wondering if the voice package is sending 74 byte UDP packets or 70 byte UDP packets? Discord says that they are deprecating sending 70-byte voice packet in replacement for 74 byte UDP packets and so I was wondering which type the package sends currently.
7 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
duck
duck2y ago
74
dzlandis
dzlandisOP2y ago
Great, thanks!
dzlandis
dzlandisOP2y ago
GitHub
discord.js/VoiceUDPSocket.ts at dc142c47e4021d6d37712453cc2fad6e4fe...
A powerful JavaScript library for interacting with the Discord API - discord.js/VoiceUDPSocket.ts at dc142c47e4021d6d37712453cc2fad6e4fe4e9f7 · discordjs/discord.js
dzlandis
dzlandisOP2y ago
But I see the alloc is 74 so I think it should be fine Unless that value was also supposed to be changed and was forgotten about 🤷‍♂️
duck
duck2y ago
that 70 is the value being written, not the number of bytes
dzlandis
dzlandisOP2y ago
Okay great, thanks for clarifying
Want results from more Discord servers?
Add your server