remove unused code

This commit is contained in:
Ubuntu 2018-06-06 15:48:51 +00:00
parent 275c53163b
commit fa64c31e60

View File

@ -34,7 +34,7 @@ $(function() {
console.log(room); console.log(room);
socket = io('https://kurento.fishrungames.com/'); socket = io('http://kurento-prod.fishrungames.com/');
$('#call').on('click', function(e) { presenter(); e.preventDefault(); } ); $('#call').on('click', function(e) { presenter(); e.preventDefault(); } );
$('#viewer').on('click', function(e) { viewer(); e.preventDefault(); } ); $('#viewer').on('click', function(e) { viewer(); e.preventDefault(); } );
@ -131,18 +131,7 @@ function viewer() {
var options = { var options = {
remoteVideo: video, remoteVideo: video,
onicecandidate : onIceCandidate, onicecandidate : onIceCandidate
configuration: {
iceServers:[
{
urls: 'turn:numb.viagenie.ca',
credential: '170988abC',
password: '170988abC',
username: 'wow_123@bk.ru'
}
]
}
}; };
webRtcPeer = kurentoUtils.WebRtcPeer.WebRtcPeerRecvonly(options, function(error) { webRtcPeer = kurentoUtils.WebRtcPeer.WebRtcPeerRecvonly(options, function(error) {