Updates
This commit is contained in:
@@ -103,8 +103,9 @@ const do_connect = () => {
|
||||
connection.connect({
|
||||
timeout: 5000,
|
||||
remote_port: 9987,
|
||||
//remote_host: "localhost",
|
||||
remote_host: "ts.teaspeak.de",
|
||||
//remote_host: "188.40.240.20", /* twerion */
|
||||
remote_host: "localhost",
|
||||
//remote_host: "ts.teaspeak.de",
|
||||
//remote_host: "51.68.181.92",
|
||||
//remote_host: "94.130.236.135",
|
||||
//remote_host: "54.36.232.11", /* the beast */
|
||||
@@ -159,6 +160,10 @@ const do_connect = () => {
|
||||
connection.callback_voice_data = (buffer, client_id, codec_id, flag_head, packet_id) => {
|
||||
connection.send_voice_data(buffer, codec_id, flag_head);
|
||||
}
|
||||
|
||||
connection.callback_command = (command, arguments1, switches) => {
|
||||
console.log("Command: %s", command);
|
||||
}
|
||||
};
|
||||
do_connect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user