Skip to content

Commit 96699c3

Browse files
author
dimaspirit
committed
QBWEBSDK-228
1 parent 508e4bf commit 96699c3

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

js/qbConfig.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,26 @@ var config = {
4444
'url': 'turn:turn.quickblox.com:3478?transport=tcp',
4545
'username': 'quickblox',
4646
'credential': 'baccb97ba2d92d71e26eb9886da5f1e0'
47+
},
48+
{
49+
'url': 'turn:turnsingapor.quickblox.com:3478?transport=udp',
50+
'username': 'quickblox',
51+
'credential': 'baccb97ba2d92d71e26eb9886da5f1e0'
52+
},
53+
{
54+
'url': 'turn:turnsingapore.quickblox.com:3478?transport=tcp',
55+
'username': 'quickblox',
56+
'credential': 'baccb97ba2d92d71e26eb9886da5f1e0'
57+
},
58+
{
59+
'url': 'turn:turnireland.quickblox.com:3478?transport=udp',
60+
'username': 'quickblox',
61+
'credential': 'baccb97ba2d92d71e26eb9886da5f1e0'
62+
},
63+
{
64+
'url': 'turn:turnireland.quickblox.com:3478?transport=tcp',
65+
'username': 'quickblox',
66+
'credential': 'baccb97ba2d92d71e26eb9886da5f1e0'
4767
}
4868
]
4969
},

js/qbMain.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ QuickBlox.prototype = {
3030
Content = require('./modules/qbContent'),
3131
Location = require('./modules/qbLocation'),
3232
PushNotifications = require('./modules/qbPushNotifications'),
33-
Data = require('./modules/qbData');
33+
Data = require('./modules/qbData'),
34+
conn;
3435

3536
if (isBrowser) {
3637
/** create Strophe Connection object */
3738
var Connection = require('./qbStrophe');
38-
var conn = new Connection();
39+
conn = new Connection();
3940

4041
/** add WebRTC API if API is avaible */
4142
if( Utils.isWebRTCAvailble() ) {

0 commit comments

Comments
 (0)