Skip to content

Commit

Permalink
Added new TURN server.
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Oct 29, 2016
1 parent 08516a9 commit 6ae9623
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dev/BluetoothConnection.js
Expand Up @@ -22,7 +22,7 @@ function BluetoothConnection(connection, connectCallback) {
}

function sendUsingBluetooth(data) {
// send data using bluetooth
// send data using bluetooth
}

connection.socket.emit = function(eventName, data, callback) {
Expand Down
5 changes: 3 additions & 2 deletions dev/IceServersHandler.js
Expand Up @@ -86,8 +86,9 @@ var IceServersHandler = (function() {
var iceServers = [];

iceServers.push(getSTUNObj('stun:stun.l.google.com:19302'));
iceServers.push(getTURNObj('turn:webrtcweb.com:80', 'muazkh', 'muazkh'));
iceServers.push(getTURNObj('turn:webrtcweb.com:443', 'muazkh', 'muazkh'));
iceServers.push(getTURNObj('turn:webrtcweb.com:80', 'muazkh', 'muazkh')); // coTURN
iceServers.push(getTURNObj('turn:webrtcweb.com:443', 'muazkh', 'muazkh')); // coTURN
iceServers.push(getTURNObj('turn:webrtcweb.com:3344', 'muazkh', 'muazkh')); // resiprocate

if (window.RMCExternalIceServers) {
iceServers = iceServers.concat(getExtenralIceFormatted());
Expand Down
7 changes: 4 additions & 3 deletions dist/RTCMultiConnection.js
@@ -1,4 +1,4 @@
// Last time updated: 2016-10-24 7:21:07 AM UTC
// Last time updated: 2016-10-29 4:39:44 PM UTC

// _________________________
// RTCMultiConnection v3.4.1
Expand Down Expand Up @@ -4658,8 +4658,9 @@
var iceServers = [];

iceServers.push(getSTUNObj('stun:stun.l.google.com:19302'));
iceServers.push(getTURNObj('turn:webrtcweb.com:80', 'muazkh', 'muazkh'));
iceServers.push(getTURNObj('turn:webrtcweb.com:443', 'muazkh', 'muazkh'));
iceServers.push(getTURNObj('turn:webrtcweb.com:80', 'muazkh', 'muazkh')); // coTURN
iceServers.push(getTURNObj('turn:webrtcweb.com:443', 'muazkh', 'muazkh')); // coTURN
iceServers.push(getTURNObj('turn:webrtcweb.com:3344', 'muazkh', 'muazkh')); // resiprocate

if (window.RMCExternalIceServers) {
iceServers = iceServers.concat(getExtenralIceFormatted());
Expand Down
4 changes: 2 additions & 2 deletions dist/RTCMultiConnection.min.js

Large diffs are not rendered by default.

0 comments on commit 6ae9623

Please sign in to comment.