Skip to content

Commit

Permalink
Removed over logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vasanthv committed Oct 6, 2023
1 parent fc7ff52 commit 4f3ef44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/signalling-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ const signallingServer = (socket) => {
socket.on("relayICECandidate", (config) => {
let peer_id = config.peer_id;
let ice_candidate = config.ice_candidate;
console.log("[" + socket.id + "] relay ICE-candidate to [" + peer_id + "] ", ice_candidate);

if (peer_id in sockets) {
sockets[peer_id].emit("iceCandidate", { peer_id: socket.id, ice_candidate: ice_candidate });
Expand All @@ -104,7 +103,6 @@ const signallingServer = (socket) => {
socket.on("relaySessionDescription", (config) => {
let peer_id = config.peer_id;
let session_description = config.session_description;
console.log("[" + socket.id + "] relay SessionDescription to [" + peer_id + "] ", session_description);

if (peer_id in sockets) {
sockets[peer_id].emit("sessionDescription", {
Expand Down

0 comments on commit 4f3ef44

Please sign in to comment.