stormcloud-video-player 0.8.39 → 0.8.41
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/dist/stormcloud-vp.min.js +1 -1
- package/lib/index.cjs +73 -8
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +74 -9
- package/lib/index.js.map +1 -1
- package/lib/player/AdBreakOrchestrator.cjs +10 -1
- package/lib/player/AdBreakOrchestrator.cjs.map +1 -1
- package/lib/player/AdConfigManager.cjs +10 -1
- package/lib/player/AdConfigManager.cjs.map +1 -1
- package/lib/player/StormcloudVideoPlayer.cjs +11 -4
- package/lib/player/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.cjs +11 -4
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/index.cjs +11 -4
- package/lib/players/index.cjs.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.cjs +73 -8
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/utils/mqttClient.cjs +10 -1
- package/lib/utils/mqttClient.cjs.map +1 -1
- package/lib/utils/tracking.cjs +10 -1
- package/lib/utils/tracking.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -1931,10 +1931,19 @@ function openConnection() {
|
|
|
1931
1931
|
password: mqttConfig.password,
|
|
1932
1932
|
keepalive: KEEPALIVE_SECONDS,
|
|
1933
1933
|
clean: true,
|
|
1934
|
+
// Disable MQTT.js internal reconnect; we manage reconnection ourselves.
|
|
1934
1935
|
reconnectPeriod: 0,
|
|
1935
1936
|
connectTimeout: CONNECT_TIMEOUT_MS,
|
|
1936
1937
|
queueQoSZero: false,
|
|
1937
|
-
reschedulePings: true
|
|
1938
|
+
reschedulePings: true,
|
|
1939
|
+
// Root-cause fix for the Tizen 4.0 "Keepalive timeout" loop: MQTT.js's
|
|
1940
|
+
// default timerVariant "auto" runs the keepalive interval inside a
|
|
1941
|
+
// Blob-URL Web Worker (via worker-timers). On Samsung Tizen 4.0 (old
|
|
1942
|
+
// WebKit) served from a file:// origin that worker can't tick reliably,
|
|
1943
|
+
// so the keepalive counter trips onKeepaliveTimeout almost immediately
|
|
1944
|
+
// after connect. Force the native setInterval timer instead; the main
|
|
1945
|
+
// thread is free because video is decoded by the native AVPlay pipeline.
|
|
1946
|
+
timerVariant: "native"
|
|
1938
1947
|
});
|
|
1939
1948
|
} catch (err) {
|
|
1940
1949
|
status = "error";
|
|
@@ -8729,12 +8738,10 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
|
|
|
8729
8738
|
];
|
|
8730
8739
|
case 3:
|
|
8731
8740
|
error = _state.sent();
|
|
8732
|
-
this.adBreak.adPodQueue = [];
|
|
8733
|
-
this.adBreak.inAdBreak = false;
|
|
8734
|
-
this.adBreak.showAds = false;
|
|
8735
8741
|
if (this.debug) {
|
|
8736
8742
|
console.warn("[StormcloudVideoPlayer] VMAP ad request failed:", error);
|
|
8737
8743
|
}
|
|
8744
|
+
this.adBreak.handleAdPodComplete();
|
|
8738
8745
|
return [
|
|
8739
8746
|
3,
|
|
8740
8747
|
4
|