Currently I specify "iceServers" for RTCPeerConnection as follows:
var stunServer =
{"url":"stun:xx.xx.xx.xx:3478"};var turnServer = {"url":"turn:mytu...@yy.yy.yy.yy:3478","credential":"myturnpasswd"};
var iceServers = { "iceServers": [ stunServer, turnServer ] };
var pc = new RTCPeerConnection(iceServers);
Our stun server currently does not need authentication, but I want to know if stun authentication is enabled, how do I specify username and password? Is it the same as the format of turn, e.g.:
var stunServer = {"url":"stun:myst...@xx.xx.xx.xx:3478","credential":"mystunpasswd"};
Thanks,
Yong