@@ -46157,19 +46157,19 @@ ChatProxy.prototype = {
4615746157 'failed, at ', Utils.getCurrentTime(),
4615846158 '_chatPingFailedCounter: ', self._chatPingFailedCounter,
4615946159 ' error: ', error);
46160- self._localPingFaildCounter += 1;
46160+ self._chatPingFailedCounter += 1;
4616146161 if (self._chatPingFailedCounter > 6) {
4616246162 self.isConnected = false;
4616346163 self._isConnecting = false;
46164- self._localPingFaildCounter = 0;
46164+ self._chatPingFailedCounter = 0;
4616546165 self._establishConnection(params);
4616646166 }
4616746167 } else {
4616846168 Utils.QBLog('[QBChat]',
4616946169 'Chat Ping: ',
4617046170 'ok, at ', Utils.getCurrentTime(),
4617146171 '_chatPingFailedCounter: ', self._chatPingFailedCounter);
46172- self._localPingFaildCounter = 0;
46172+ self._chatPingFailedCounter = 0;
4617346173 }
4617446174 });
4617546175 } catch (err) {
@@ -46791,7 +46791,7 @@ ChatProxy.prototype = {
4679146791 this.connection.flush();
4679246792 this.connection.disconnect();
4679346793 if (this._checkConnectionPingTimer !== undefined) {
46794- Utils.QBLog('[QBChat]', 'Stop ping to localhost. ');
46794+ Utils.QBLog('[QBChat]', 'Stop ping');
4679546795 clearInterval(this._checkConnectionPingTimer);
4679646796 this._checkConnectionPingTimer = undefined;
4679746797 }
@@ -53555,8 +53555,8 @@ module.exports = StreamManagement;
5355553555 */
5355653556
5355753557var config = {
53558- version: '2.15.4 ',
53559- buildNumber: '1149 ',
53558+ version: '2.15.5 ',
53559+ buildNumber: '1152 ',
5356053560 creds: {
5356153561 'appId': 0,
5356253562 'authKey': '',
@@ -53577,9 +53577,9 @@ var config = {
5357753577 websocket: 'wss://chat.quickblox.com:5291',
5357853578 active: 2
5357953579 },
53580- pingTimeout: 30 ,
53580+ pingTimeout: 1 ,
5358153581 pingLocalhostTimeInterval: 5,
53582- chatReconnectionTimeInterval: 5 ,
53582+ chatReconnectionTimeInterval: 3 ,
5358353583 webrtc: {
5358453584 answerTimeInterval: 60,
5358553585 autoReject: true,
@@ -53622,6 +53622,7 @@ var config = {
5362253622 addISOTime: false,
5362353623 qbTokenExpirationDate: null,
5362453624 liveSessionInterval: 120,
53625+ callBackInterval: 30,
5362553626};
5362653627
5362753628config.set = function(options) {
@@ -53709,7 +53710,7 @@ QuickBlox.prototype = {
5370953710 * @param {Object} configMap - Settings object for QuickBlox SDK.
5371053711 */
5371153712 init: function(appIdOrToken, authKeyOrAppId, authSecret, accountKey, configMap) {
53712- Utils.QBLog ('current platform:', Utils.getEnv());
53713+ console.log ('current platform: ', Utils.getEnv());
5371353714 if (typeof accountKey === 'string' && accountKey.length) {
5371453715 if (configMap && typeof configMap === 'object') {
5371553716 config.set(configMap);
0 commit comments