Skip to content

Commit bf03a54

Browse files
committed
fix(VoiceConnection): send 74-byte IP discovery packet
1 parent fb1d33d commit bf03a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/voice/VoiceConnection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class VoiceConnection extends EventEmitter {
262262
this.disconnect(err);
263263
}
264264
});
265-
const udpMessage = Buffer.allocUnsafe(70);
265+
const udpMessage = Buffer.allocUnsafe(74);
266266
udpMessage.writeUInt16BE(0x1, 0);
267267
udpMessage.writeUInt16BE(70, 2);
268268
udpMessage.writeUInt32BE(this.ssrc, 4);

0 commit comments

Comments
 (0)