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
|
@@ -1982,10 +1982,19 @@ function openConnection() {
|
|
|
1982
1982
|
password: mqttConfig.password,
|
|
1983
1983
|
keepalive: KEEPALIVE_SECONDS,
|
|
1984
1984
|
clean: true,
|
|
1985
|
+
// Disable MQTT.js internal reconnect; we manage reconnection ourselves.
|
|
1985
1986
|
reconnectPeriod: 0,
|
|
1986
1987
|
connectTimeout: CONNECT_TIMEOUT_MS,
|
|
1987
1988
|
queueQoSZero: false,
|
|
1988
|
-
reschedulePings: true
|
|
1989
|
+
reschedulePings: true,
|
|
1990
|
+
// Root-cause fix for the Tizen 4.0 "Keepalive timeout" loop: MQTT.js's
|
|
1991
|
+
// default timerVariant "auto" runs the keepalive interval inside a
|
|
1992
|
+
// Blob-URL Web Worker (via worker-timers). On Samsung Tizen 4.0 (old
|
|
1993
|
+
// WebKit) served from a file:// origin that worker can't tick reliably,
|
|
1994
|
+
// so the keepalive counter trips onKeepaliveTimeout almost immediately
|
|
1995
|
+
// after connect. Force the native setInterval timer instead; the main
|
|
1996
|
+
// thread is free because video is decoded by the native AVPlay pipeline.
|
|
1997
|
+
timerVariant: "native"
|
|
1989
1998
|
});
|
|
1990
1999
|
} catch (err) {
|
|
1991
2000
|
status = "error";
|
|
@@ -8780,12 +8789,10 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
|
|
|
8780
8789
|
];
|
|
8781
8790
|
case 3:
|
|
8782
8791
|
error = _state.sent();
|
|
8783
|
-
this.adBreak.adPodQueue = [];
|
|
8784
|
-
this.adBreak.inAdBreak = false;
|
|
8785
|
-
this.adBreak.showAds = false;
|
|
8786
8792
|
if (this.debug) {
|
|
8787
8793
|
console.warn("[StormcloudVideoPlayer] VMAP ad request failed:", error);
|
|
8788
8794
|
}
|
|
8795
|
+
this.adBreak.handleAdPodComplete();
|
|
8789
8796
|
return [
|
|
8790
8797
|
3,
|
|
8791
8798
|
4
|