mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Mark call as ready as soon as possible
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user