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