Hi all,
I am facing issues with specifying TURN and STUN both servers, I am using google's open stun server
stun4.l.google.com:19302 and I have specified the configuration in Kurento's WebRtcEndpoint.conf.ini as shown below
stunServerPort=19302
and I have also specified it in the javascript client using following:
var TURN = {
url: '
turn:ho...@turn.bistri.com:80',
credential: 'homeo'
};
var NUMB_TURN = {
'url' : 'turn:
numb.viagenie.ca',
'credentials' : 'peaas',
'
username':'ayushya....@peaas.co'
}
var NUMB_STUN = {
'url' : 'turn:
numb.viagenie.ca',
'credentials' : 'peaas',
'
username':'ayushya....@peaas.co'
}
var iceServers = {
'iceServers': [TURN, NUMB_STUN]
};
var options = {
localVideo : videoInput,
remoteVideo : videoOutput,
onicecandidate : onIceCandidate,
'iceServers':iceServers
}
webRtcPeer = new kurentoUtils.WebRtcPeer.WebRtcPeerSendrecv(options,
function(error) {
if (error) {
return console.error(error);
}
this.generateOffer(onOfferIncomingCall);
});
Is this the correct way to specify the STUN/TURN server for Kurento as well as client side JS ?
If yes then I still have problems while connecting to end points.