IT WORKS THREE CLIENTS REMOTELY! adding the uuid to emit candidate

This commit is contained in:
Khush Jammu 2020-05-30 17:33:27 +08:00
parent 90ec6f2fb9
commit a6621c3072

View File

@ -216,7 +216,8 @@ var VideoChat = {
VideoChat.socket.emit( VideoChat.socket.emit(
"candidate", "candidate",
JSON.stringify(event.candidate), JSON.stringify(event.candidate),
roomHash roomHash,
uuid
); );
} else { } else {
// If we are not 'connected' to the other peer, we are buffering the local ICE candidates. // If we are not 'connected' to the other peer, we are buffering the local ICE candidates.