From fa64c31e60def721c5010d51877b9506a0f83e75 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 6 Jun 2018 15:48:51 +0000 Subject: [PATCH] remove unused code --- static/js/index.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index 671d819..51b85a9 100755 --- a/static/js/index.js +++ b/static/js/index.js @@ -34,7 +34,7 @@ $(function() { console.log(room); - socket = io('https://kurento.fishrungames.com/'); + socket = io('http://kurento-prod.fishrungames.com/'); $('#call').on('click', function(e) { presenter(); e.preventDefault(); } ); $('#viewer').on('click', function(e) { viewer(); e.preventDefault(); } ); @@ -131,18 +131,7 @@ function viewer() { var options = { remoteVideo: video, - onicecandidate : onIceCandidate, - configuration: { - iceServers:[ - { - urls: 'turn:numb.viagenie.ca', - credential: '170988abC', - password: '170988abC', - username: 'wow_123@bk.ru' - } - ] - - } + onicecandidate : onIceCandidate }; webRtcPeer = kurentoUtils.WebRtcPeer.WebRtcPeerRecvonly(options, function(error) {