stormcloud-video-player 0.7.11 → 0.7.13
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 +367 -778
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1 -31
- package/lib/index.d.ts +1 -31
- package/lib/index.js +368 -779
- package/lib/index.js.map +1 -1
- package/lib/player/StormcloudVideoPlayer.cjs +246 -744
- package/lib/player/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/player/StormcloudVideoPlayer.d.cts +2 -26
- package/lib/players/HlsPlayer.cjs +246 -744
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.d.cts +1 -1
- package/lib/players/index.cjs +246 -744
- package/lib/players/index.cjs.map +1 -1
- package/lib/sdk/adstormPlayer.cjs +9 -1
- package/lib/sdk/adstormPlayer.cjs.map +1 -1
- package/lib/sdk/adstormPlayer.d.cts +1 -1
- package/lib/{types-jU4lq0ST.d.cts → types-DrBGHN4q.d.cts} +1 -7
- package/lib/ui/StormcloudVideoPlayer.cjs +367 -778
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.d.cts +1 -1
- package/lib/utils/tracking.d.cts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StormcloudVideoPlayerConfig
|
|
1
|
+
import { S as StormcloudVideoPlayerConfig } from '../types-DrBGHN4q.cjs';
|
|
2
2
|
|
|
3
3
|
type DebugLogLevel = "info" | "warn" | "error";
|
|
4
4
|
declare class StormcloudVideoPlayer {
|
|
@@ -13,9 +13,7 @@ declare class StormcloudVideoPlayer {
|
|
|
13
13
|
private currentAdBreakStartWallClockMs;
|
|
14
14
|
private expectedAdBreakDurationMs;
|
|
15
15
|
private adStopTimerId;
|
|
16
|
-
private adStartTimerId;
|
|
17
16
|
private adFailsafeTimerId;
|
|
18
|
-
private ptsDriftEmaMs;
|
|
19
17
|
private adPodQueue;
|
|
20
18
|
private lastHeartbeatTime;
|
|
21
19
|
private heartbeatInterval;
|
|
@@ -46,7 +44,7 @@ declare class StormcloudVideoPlayer {
|
|
|
46
44
|
private readonly maxTotalAdRequestsPerBreak;
|
|
47
45
|
private pendingAdBreak;
|
|
48
46
|
private prefetchTimerId;
|
|
49
|
-
private
|
|
47
|
+
private savedMutedStateBeforeAd;
|
|
50
48
|
private consecutiveFailures;
|
|
51
49
|
private readonly maxConsecutiveFailures;
|
|
52
50
|
private lastAdRequestTime;
|
|
@@ -62,7 +60,6 @@ declare class StormcloudVideoPlayer {
|
|
|
62
60
|
private fillerVideo;
|
|
63
61
|
private fillerBreakTimerId;
|
|
64
62
|
private debugLogEntries;
|
|
65
|
-
private scteMarkerHistory;
|
|
66
63
|
private adInsertionDebugHistory;
|
|
67
64
|
constructor(config: StormcloudVideoPlayerConfig);
|
|
68
65
|
private adRequest;
|
|
@@ -76,16 +73,6 @@ declare class StormcloudVideoPlayer {
|
|
|
76
73
|
private stopFillerBreakTimer;
|
|
77
74
|
private attach;
|
|
78
75
|
private shouldUseNativeHls;
|
|
79
|
-
private onId3Tag;
|
|
80
|
-
private parseScte35FromId3;
|
|
81
|
-
private decodeId3ValueToText;
|
|
82
|
-
private onScte35Marker;
|
|
83
|
-
private parseCueOutDuration;
|
|
84
|
-
private parseCueOutCont;
|
|
85
|
-
private parseAttributeList;
|
|
86
|
-
private toNumber;
|
|
87
|
-
private isManifestBasedMarker;
|
|
88
|
-
private parseScte35Binary;
|
|
89
76
|
private initializeTracking;
|
|
90
77
|
private sendHeartbeatIfNeeded;
|
|
91
78
|
getCurrentAdIndex(): number;
|
|
@@ -118,9 +105,6 @@ declare class StormcloudVideoPlayer {
|
|
|
118
105
|
private scheduleAdStopCountdown;
|
|
119
106
|
private clearAdStopTimer;
|
|
120
107
|
private ensureAdStoppedByTimer;
|
|
121
|
-
private scheduleAdStartIn;
|
|
122
|
-
private clearAdStartTimer;
|
|
123
|
-
private updatePtsDrift;
|
|
124
108
|
private handleAdPodComplete;
|
|
125
109
|
private handleAdFailure;
|
|
126
110
|
private startAdRequestWatchdog;
|
|
@@ -129,15 +113,7 @@ declare class StormcloudVideoPlayer {
|
|
|
129
113
|
private clearAdFailsafeTimer;
|
|
130
114
|
private logAdState;
|
|
131
115
|
private getRemainingAdMs;
|
|
132
|
-
private pushScteMarker;
|
|
133
116
|
private pushDebugLog;
|
|
134
|
-
getRecentScteMarkers(): ReadonlyArray<{
|
|
135
|
-
timestampMs: number;
|
|
136
|
-
type: Scte35Marker["type"];
|
|
137
|
-
ptsSeconds?: number;
|
|
138
|
-
durationSeconds?: number;
|
|
139
|
-
raw?: unknown;
|
|
140
|
-
}>;
|
|
141
117
|
private pushAdInsertionDebug;
|
|
142
118
|
getAdInsertionDebugLog(): ReadonlyArray<{
|
|
143
119
|
timestampMs: number;
|