stream path animation v4

update input items styling

add ipc event handler for message

add send-message ipc handler

add audio to send-message ipc

remove extra JSON stringify statement for audio message

add render bug fix for add contacts
This commit is contained in:
Enrique Hernandez 2020-12-17 11:50:03 -06:00 committed by riqo
commit 1627e07964
23 changed files with 450 additions and 295 deletions

View file

@ -1,5 +1,13 @@
const WebSocket = require("ws");
const testMessage = {
content: 'Hello from test server!' ,
context: 'test message',
subContext: '',
modifiers: 'ai',
id: "0",
time: 'test'
}
const wss = new WebSocket.Server({
port: 8080
// perMessageDeflate: {
@ -30,5 +38,5 @@ wss.on("connection", function connection(ws, req) {
const ip = req.socket.remoteAddress;
console.log("received connection from", ip);
ws.send("hello from server!");
ws.send(JSON.stringify(testMessage));
});