Hi Guys,
I'm figuring out how to combine MySQL auth with username some password and directly do the same for Turn
For easyRTC itself the MySQL part is kinda understandable but how to combine this part without a username for the same connection the user makes to easyRTC ?
easyrtc.on("getIceConfig", function(connectionObj, callback){
var myIceServers=[
{"url":"stun:stun.easyrtc.com:3478"},
{
"url": "turn:turn.easyrtc.com:3478",
"username": connectionObj.getUsername(),
"credential": "345yRTC!"
}
];
callback(null, myIceServers);
});
I actually have a username in my connect script setUsername, but is it possible to
When I place this in my server.js after my MySQL Auth for EasyRTC can I also get the password and do I need the username also ? As we only use key for authing a user but we connect using username and key.
Would be great to see some "working" example if possible!
Thanks!
Matt