stormcloud-video-player 0.8.9 → 0.8.11

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.
@@ -1,4 +1,4 @@
1
- import { S as StormcloudVideoPlayerConfig } from '../types-CUKMIqHL.cjs';
1
+ import { S as StormcloudVideoPlayerConfig } from '../types-CRd8dgO8.cjs';
2
2
 
3
3
  declare class StormcloudVideoPlayer {
4
4
  private readonly video;
@@ -61,6 +61,7 @@ declare class StormcloudVideoPlayer {
61
61
  private readonly maxConsecutiveFailures;
62
62
  private lastAdRequestTime;
63
63
  private readonly minAdRequestIntervalMs;
64
+ private readonly defaultMinRemainingMsToStartAd;
64
65
  private readonly backoffBaseMs;
65
66
  private readonly maxBackoffMs;
66
67
  private placeholderContainer;
@@ -77,6 +78,7 @@ declare class StormcloudVideoPlayer {
77
78
  private preloadPoolLoopRunning;
78
79
  private adDetectSentForCurrentBreak;
79
80
  private adBreakEpoch;
81
+ private adBreakPlayedDurationMs;
80
82
  private palNonce;
81
83
  private palPlaybackStarted;
82
84
  private readonly streamCorrelator;
@@ -195,7 +197,18 @@ declare class StormcloudVideoPlayer {
195
197
  private clearAdFailsafeTimer;
196
198
  private selectVastTagsForBreak;
197
199
  private logAdState;
200
+ private getWallClockRemainingAdMs;
201
+ private getDurationBudgetRemainingMs;
202
+ private getLoadedAdDurationMs;
203
+ private adFitsRemainingBudget;
204
+ private logAdDurationDecision;
205
+ private recordPlayedAdDuration;
206
+ private ensureLoadedAdFitsBudget;
207
+ private rejectLoadedAdForDuration;
208
+ private markAdStarted;
198
209
  private getRemainingAdMs;
210
+ private getMinRemainingMsToStartAd;
211
+ private hasTimeToStartAnotherAd;
199
212
  private findBreakForTime;
200
213
  toggleMute(): void;
201
214
  toggleFullscreen(): Promise<void>;