mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Mark call as ready as soon as possible
This commit is contained in:
parent
fd95411045
commit
8febe2a523
@ -308,7 +308,12 @@ class CallWindow extends CustomEvents {
|
||||
notify("An error occured while trying to connect!", "danger", 5)
|
||||
});
|
||||
|
||||
this.mainPeer.on("connect", () => console.info("Connected to remote peer!"))
|
||||
this.mainPeer.on("connect", () => {
|
||||
console.info("Connected to remote peer!")
|
||||
ws("calls/mark_ready", {
|
||||
callID: this.callID
|
||||
})
|
||||
})
|
||||
|
||||
this.mainPeer.on("message", message => {
|
||||
console.log("Message from remote peer: " + message);
|
||||
|
Loading…
Reference in New Issue
Block a user