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 User17mo ago
Message Not Public
Sign In & Join Server To View
duck
duck17mo ago
74
dzlandis
dzlandis17mo ago
Great, thanks!
dzlandis
dzlandis17mo 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
dzlandis17mo 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
duck17mo ago
that 70 is the value being written, not the number of bytes
dzlandis
dzlandis17mo ago
Okay great, thanks for clarifying