Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var pc_config = {"iceServers": [{"url": "stun:stun.l.google.com:19302"},
- {"url":"turn:my_username@<turn_server_ip_address>", "credential":"my_password"}]};
- pc_new = new webkitRTCPeerConnection(pc_config);
- var pc_config = {"iceServers": [{"url":"turn:my_username@<turn_server_ip_address>", "credential":"my_password"}]};
- pc_new = new webkitRTCPeerConnection(pc_config);
- sudo apt-get install coturn
- sudo turnserver -a -o -v -n --no-dtls --no-tls -u test:test -r "someRealm"
- var peerConnectionConfig = {
- iceServers: [{
- urls: YOUR_IP:3478,
- username: 'test',
- password: 'test'
- }]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement