Skip to content

Commit

Permalink
phase 1 completed
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaur008 committed Jul 6, 2021
1 parent ac0f2d4 commit 3e3ba31
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ io.on('connection', (socket) => {
io.to(roomId).emit('createMessage', message , userName, userId);
});

socket.on('video', (userId ,myVideoStream, state) => {
io.to(roomId).emit('video-toggle', userId , myVideoStream, state);

});


});
Expand Down

0 comments on commit 3e3ba31

Please sign in to comment.