forked from olcxjas-softworks/LarpixClient
voice chat [TEST]
This commit is contained in:
parent
b2f65d9334
commit
dd08cc88ae
12 changed files with 2218 additions and 6 deletions
|
|
@ -3976,6 +3976,16 @@ function setupWebSocket() {
|
|||
}, 300);
|
||||
}
|
||||
}
|
||||
else if (data.startsWith("call_update:")) {
|
||||
if (typeof handleCallUpdate === "function") {
|
||||
handleCallUpdate(data);
|
||||
}
|
||||
}
|
||||
else if (data.startsWith("signal:")) {
|
||||
if (typeof handleRoomSignal === "function") {
|
||||
handleRoomSignal(data);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
appWebSocket.onclose = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue