@flashphoner/websdk 2.0.250 → 2.0.251

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- Web SDK - 2.0.250
1
+ Web SDK - 2.0.251
2
2
 
3
3
  [Download builds](https://docs.flashphoner.com/display/WEBSDK2EN/Web+SDK+release+notes)
4
4
 
@@ -12431,6 +12431,10 @@ var Flashphoner = require('./flashphoner-core');
12431
12431
  * @param {String} options.username Username to login with
12432
12432
  * @param {String} options.token JWT Token
12433
12433
  * @param {String} options.appKey Application Key
12434
+ * @param {Integer=} options.timeout Connection timeout in milliseconds [0]
12435
+ * @param {Integer=} options.pingInterval Server ping interval in milliseconds [0]
12436
+ * @param {Integer=} options.receiveProbes A maximum subsequental pings received missing count [0]
12437
+ * @param {Integer=} options.probesInterval Interval to check subsequental pings received [0]
12434
12438
  * @returns {roomApi.RoomSession}
12435
12439
  * @memberof roomApi
12436
12440
  * @method connect
@@ -12453,7 +12457,11 @@ var appSession = function (options) {
12453
12457
  custom: {
12454
12458
  login: options.username,
12455
12459
  token: options.token
12456
- }
12460
+ },
12461
+ timeout: options.timeout || 0,
12462
+ pingInterval: options.pingInterval || 0,
12463
+ receiveProbes: options.receiveProbes || 0,
12464
+ probesInterval: options.probesInterval || 0
12457
12465
  }).on(SESSION_STATUS.ESTABLISHED, function (session) {
12458
12466
  if (callbacks[session.status()]) {
12459
12467
  callbacks[session.status()](exports);