Ashley
I installed the turn server and it's running, but in order to connect to it I have to specify username and password (credential). I can't find the way to do it in C2 events. There's only Add ICE server command. Can I add username and password to the "Add ICE server" string somehow?
I tried something like this, but it doesn't work: "turn:test@<11.22.33.44>, credential:test"
So far I found this:
In your Javascript code where the RTCPeerConnection is created, reference the TURN server as follows:
var pc_config = {"iceServers": [{"url": "stun:stun.l.google.com:19302"}, {"url":"turn:my_username@", "credential":"my_password"}]};
pc_new = new webkitRTCPeerConnection(pc_config);
Another question is, where should "Add ICE server" be useded: before On signalling connected or after