stormcloud-video-player 0.7.2 → 0.7.4

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,10 +1,9 @@
1
- import { S as StormcloudVideoPlayerConfig } from '../types-BYwfSJb5.cjs';
1
+ import { S as StormcloudVideoPlayerConfig } from '../types-vCa10HuQ.cjs';
2
2
 
3
3
  declare class StormcloudVideoPlayer {
4
4
  private readonly video;
5
5
  private readonly config;
6
6
  private hls?;
7
- private vastManager;
8
7
  private adLayer;
9
8
  private pendingNextAdBids;
10
9
  private continuousFetchLoopPromise;
@@ -51,6 +50,9 @@ declare class StormcloudVideoPlayer {
51
50
  private readonly maxBackoffMs;
52
51
  private readonly adTransitionGapMs;
53
52
  private readonly MIN_AD_REMAINING_MS;
53
+ private readonly adRequestTimeoutMs;
54
+ private readonly adRequestMaxRetries;
55
+ private readonly adRequestRetryBackoffMs;
54
56
  private preloadedTokens;
55
57
  private fillerVideo;
56
58
  private fillerBreakTimerId;
@@ -80,6 +82,7 @@ declare class StormcloudVideoPlayer {
80
82
  private sendHeartbeatIfNeeded;
81
83
  getCurrentAdIndex(): number;
82
84
  getTotalAdsInBreak(): number;
85
+ getRemainingAdSeconds(): number;
83
86
  isAdPlaying(): boolean;
84
87
  isShowingAds(): boolean;
85
88
  private syncMainContentAudioWhenVisible;