From a4cacdddb67da525e716db87202efb9958ebda3a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 18 Jun 2014 16:20:16 +0200 Subject: [PATCH] Use the leaveRoom method to leave --- public/js/vroom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index c5b770e..354afe6 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -504,7 +504,7 @@ function initVroom(room) { // Logout function hangupCall(){ - webrtc.connection.disconnect(); + webrtc.leaveRoom(); } // Handle a new video (either another peer, or a screen