stormcloud-video-player 0.6.12 → 0.6.14
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/README.md +33 -294
- package/dist/stormcloud-vp.min.js +1 -1
- package/lib/index.cjs +225 -217
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +27 -3
- package/lib/index.d.ts +27 -3
- package/lib/index.js +194 -218
- package/lib/index.js.map +1 -1
- package/lib/player/StormcloudVideoPlayer.cjs +183 -215
- package/lib/player/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/player/StormcloudVideoPlayer.d.cts +6 -1
- package/lib/players/HlsPlayer.cjs +183 -215
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.d.cts +1 -1
- package/lib/players/index.cjs +183 -215
- package/lib/players/index.cjs.map +1 -1
- package/lib/sdk/vastAdLayer.d.cts +1 -1
- package/lib/sdk/vastManager.d.cts +1 -1
- package/lib/{types-FjAlGhAL.d.cts → types-DSKC4ySr.d.cts} +0 -1
- package/lib/ui/StormcloudVideoPlayer.cjs +185 -219
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.d.cts +1 -1
- package/lib/utils/mqttClient.cjs +79 -8
- package/lib/utils/mqttClient.cjs.map +1 -1
- package/lib/utils/mqttClient.d.cts +6 -2
- package/lib/utils/mqttConfig.cjs +136 -0
- package/lib/utils/mqttConfig.cjs.map +1 -0
- package/lib/utils/mqttConfig.d.cts +19 -0
- package/lib/utils/tracking.cjs +138 -159
- package/lib/utils/tracking.cjs.map +1 -1
- package/lib/utils/tracking.d.cts +2 -3
- package/package.json +2 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StormcloudVideoPlayerConfig } from '../types-
|
|
1
|
+
import { S as StormcloudVideoPlayerConfig } from '../types-DSKC4ySr.cjs';
|
|
2
2
|
|
|
3
3
|
declare class StormcloudVideoPlayer {
|
|
4
4
|
private readonly video;
|
|
@@ -12,6 +12,7 @@ declare class StormcloudVideoPlayer {
|
|
|
12
12
|
private inAdBreak;
|
|
13
13
|
private currentAdBreakStartWallClockMs;
|
|
14
14
|
private expectedAdBreakDurationMs;
|
|
15
|
+
private scteAdBreakEndWallClockMs;
|
|
15
16
|
private adStopTimerId;
|
|
16
17
|
private adStartTimerId;
|
|
17
18
|
private adFailsafeTimerId;
|
|
@@ -75,6 +76,9 @@ declare class StormcloudVideoPlayer {
|
|
|
75
76
|
private parseScte35FromId3;
|
|
76
77
|
private decodeId3ValueToText;
|
|
77
78
|
private onScte35Marker;
|
|
79
|
+
private resolveScteBreakStartWallClockMs;
|
|
80
|
+
private setAdBreakDurationBoundary;
|
|
81
|
+
private scheduleAdStopAtBreakBoundary;
|
|
78
82
|
private parseCueOutDuration;
|
|
79
83
|
private parseCueOutCont;
|
|
80
84
|
private parseAttributeList;
|
|
@@ -117,6 +121,7 @@ declare class StormcloudVideoPlayer {
|
|
|
117
121
|
private clearAdFailsafeTimer;
|
|
118
122
|
private logAdState;
|
|
119
123
|
private getRemainingAdMs;
|
|
124
|
+
private getAdBreakEndWallClockMs;
|
|
120
125
|
toggleMute(): void;
|
|
121
126
|
toggleFullscreen(): Promise<void>;
|
|
122
127
|
isMuted(): boolean;
|