Update code comment

mute/paused are now handled directly by SimpleWebRTC
master
Daniel Berteaud 11 years ago
parent 8ee54e1198
commit 19a6511b35
  1. 2
      public/js/vroom.js

@ -152,7 +152,7 @@ function initVroom(room) {
dc: peer.getDataChannel('vroom'), dc: peer.getDataChannel('vroom'),
obj: peer obj: peer
}; };
// Send our state to this peer (mute/paused/displayName) // Send our info to this peer (displayName/color)
// but wait a bit so channels are fully setup (or have more chances to be) before we send // but wait a bit so channels are fully setup (or have more chances to be) before we send
setTimeout(function(){ setTimeout(function(){
if ($('#displayName').val() !== '') { if ($('#displayName').val() !== '') {

Loading…
Cancel
Save