@flashphoner/websdk 2.0.254 → 2.0.256
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.
- package/docTemplate/README.md +1 -1
- package/examples/demo/streaming/firewall-traversal-streaming/firewall-traversal-streaming.js +21 -5
- package/flashphoner-no-flash.js +6 -2
- package/flashphoner-no-flash.min.js +1 -1
- package/flashphoner-no-webrtc.js +6 -2
- package/flashphoner-no-webrtc.min.js +1 -1
- package/flashphoner-no-wsplayer.js +6 -2
- package/flashphoner-no-wsplayer.min.js +1 -1
- package/flashphoner-room-api-webrtc-only.js +6 -2
- package/flashphoner-room-api-webrtc-only.min.js +1 -1
- package/flashphoner-room-api.js +6 -2
- package/flashphoner-room-api.min.js +1 -1
- package/flashphoner-temasys-flash-websocket-without-adapterjs.js +6 -2
- package/flashphoner-temasys-flash-websocket.js +6 -2
- package/flashphoner-temasys-flash-websocket.min.js +1 -1
- package/flashphoner-webrtc-only.js +6 -2
- package/flashphoner-webrtc-only.min.js +1 -1
- package/flashphoner.js +6 -2
- package/flashphoner.min.js +1 -1
- package/package.json +1 -1
- package/src/flashphoner-core.js +6 -2
|
@@ -8476,8 +8476,9 @@ var createSession = function createSession(options) {
|
|
|
8476
8476
|
}
|
|
8477
8477
|
switch (data.message) {
|
|
8478
8478
|
case 'ping':
|
|
8479
|
+
logger.debug(LOG_PREFIX, "<<< ping");
|
|
8479
8480
|
send("pong", null);
|
|
8480
|
-
|
|
8481
|
+
logger.debug(LOG_PREFIX, ">>> pong");
|
|
8481
8482
|
break;
|
|
8482
8483
|
case 'getUserData':
|
|
8483
8484
|
authToken = obj.authToken;
|
|
@@ -8587,8 +8588,11 @@ var createSession = function createSession(options) {
|
|
|
8587
8588
|
}
|
|
8588
8589
|
break;
|
|
8589
8590
|
default:
|
|
8590
|
-
|
|
8591
|
+
logger.info(LOG_PREFIX, "Unknown server message " + data.message);
|
|
8591
8592
|
}
|
|
8593
|
+
// Reset missing pings counter on any message received successfully #WCS-4343
|
|
8594
|
+
logger.debug(LOG_PREFIX, "Reset missing pings counter by " + data.message + " message");
|
|
8595
|
+
wsPingReceiver.success();
|
|
8592
8596
|
};
|
|
8593
8597
|
}
|
|
8594
8598
|
|