implemented ending call functionality
Signed-off-by: heyhiru <hirentimbadiya74@gmail.com>
Este commit está contenido en:
@@ -40,4 +40,11 @@ io.on("connection", (socket) => {
|
||||
io.to(to).emit("peer:nego:final", { from: socket.id, ans });
|
||||
});
|
||||
|
||||
socket.on("call:end", ({ to }) => {
|
||||
io.to(to).emit("call:end", { from: socket.id });
|
||||
});
|
||||
|
||||
socket.on("call:initiated", ({ to }) => {
|
||||
io.to(to).emit("call:initiated", { from: socket.id });
|
||||
});
|
||||
})
|
||||
Referencia en una nueva incidencia
Block a user