Use the leaveRoom method to leave

master
Daniel Berteaud 11 years ago
parent 69fec4e842
commit a4cacdddb6
  1. 2
      public/js/vroom.js

@ -504,7 +504,7 @@ function initVroom(room) {
// Logout // Logout
function hangupCall(){ function hangupCall(){
webrtc.connection.disconnect(); webrtc.leaveRoom();
} }
// Handle a new video (either another peer, or a screen // Handle a new video (either another peer, or a screen

Loading…
Cancel
Save