Skip to content

Commit

Permalink
Merge pull request #6 from hkaur008/patch5
Browse files Browse the repository at this point in the history
phase 1 completed
  • Loading branch information
hkaur008 authored Jul 6, 2021
2 parents 5e0adc3 + 3e3ba31 commit aba2cca
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 aba2cca

Please sign in to comment.