Skip to content

Commit

Permalink
fix(VoiceConnection): send 74-byte IP discovery packet
Browse files Browse the repository at this point in the history
  • Loading branch information
abalabahaha committed Mar 9, 2023
1 parent fb1d33d commit bf03a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/voice/VoiceConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class VoiceConnection extends EventEmitter {
this.disconnect(err);
}
});
const udpMessage = Buffer.allocUnsafe(70);
const udpMessage = Buffer.allocUnsafe(74);
udpMessage.writeUInt16BE(0x1, 0);
udpMessage.writeUInt16BE(70, 2);
udpMessage.writeUInt32BE(this.ssrc, 4);
Expand Down

0 comments on commit bf03a54

Please sign in to comment.