hls.js 1.6.0-beta.3.0.canary.10981 → 1.6.0-beta.3.0.canary.10984

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/hls.d.mts CHANGED
@@ -1920,7 +1920,6 @@ export declare class HlsAssetPlayer {
1920
1920
  tracks: Partial<BufferCodecsData> | null;
1921
1921
  private hasDetails;
1922
1922
  private mediaAttached;
1923
- private playoutOffset;
1924
1923
  constructor(HlsPlayerClass: typeof Hls, userConfig: Partial<HlsConfig>, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);
1925
1924
  private checkPlayout;
1926
1925
  get destroyed(): boolean;
@@ -1931,6 +1930,7 @@ export declare class HlsAssetPlayer {
1931
1930
  get currentTime(): number;
1932
1931
  get duration(): number;
1933
1932
  get remaining(): number;
1933
+ get startOffset(): number;
1934
1934
  get timelineOffset(): number;
1935
1935
  set timelineOffset(value: number);
1936
1936
  private getAssetTime;
@@ -2269,6 +2269,14 @@ export declare interface InterstitialEventWithAssetList extends InterstitialEven
2269
2269
 
2270
2270
  export declare type InterstitialId = string;
2271
2271
 
2272
+ export declare interface InterstitialPlayer {
2273
+ currentTime: number;
2274
+ duration: number;
2275
+ assetPlayers: (HlsAssetPlayer | null)[];
2276
+ playingIndex: number;
2277
+ scheduleItem: InterstitialScheduleEventItem | null;
2278
+ }
2279
+
2272
2280
  export declare interface InterstitialsBufferedToBoundaryData {
2273
2281
  events: InterstitialEvent[];
2274
2282
  schedule: InterstitialScheduleItem[];
@@ -2331,7 +2339,9 @@ export declare class InterstitialsController extends Logger implements NetworkCo
2331
2339
  private playingItem;
2332
2340
  private bufferingItem;
2333
2341
  private waitingItem;
2342
+ private endedItem;
2334
2343
  private playingAsset;
2344
+ private endedAsset;
2335
2345
  private bufferingAsset;
2336
2346
  private shouldPlay;
2337
2347
  constructor(hls: Hls, HlsPlayerClass: typeof Hls);
@@ -2349,6 +2359,8 @@ export declare class InterstitialsController extends Logger implements NetworkCo
2349
2359
  private clearScheduleState;
2350
2360
  private onMediaDetaching;
2351
2361
  get interstitialsManager(): InterstitialsManager | null;
2362
+ private get effectivePlayingItem();
2363
+ private get effectivePlayingAsset();
2352
2364
  private get playingLastItem();
2353
2365
  private get playbackStarted();
2354
2366
  private get currentTime();
@@ -2418,18 +2430,16 @@ export declare class InterstitialsController extends Logger implements NetworkCo
2418
2430
 
2419
2431
  export declare interface InterstitialsManager {
2420
2432
  events: InterstitialEvent[];
2421
- playerQueue: HlsAssetPlayer[];
2422
2433
  schedule: InterstitialScheduleItem[];
2423
- bufferingPlayer: HlsAssetPlayer | null;
2434
+ interstitialPlayer: InterstitialPlayer | null;
2435
+ playerQueue: HlsAssetPlayer[];
2424
2436
  bufferingAsset: InterstitialAssetItem | null;
2425
2437
  bufferingItem: InterstitialScheduleItem | null;
2426
2438
  bufferingIndex: number;
2427
2439
  playingAsset: InterstitialAssetItem | null;
2428
2440
  playingItem: InterstitialScheduleItem | null;
2429
2441
  playingIndex: number;
2430
- waitingIndex: number;
2431
2442
  primary: PlayheadTimes;
2432
- playout: PlayheadTimes;
2433
2443
  integrated: PlayheadTimes;
2434
2444
  skip: () => void;
2435
2445
  }
@@ -3190,7 +3200,6 @@ export declare type PlayheadTimes = {
3190
3200
  currentTime: number;
3191
3201
  duration: number;
3192
3202
  seekableStart: number;
3193
- seekTo: (time: number) => void;
3194
3203
  };
3195
3204
 
3196
3205
  export declare const enum PlaylistContextType {
package/dist/hls.d.ts CHANGED
@@ -1920,7 +1920,6 @@ export declare class HlsAssetPlayer {
1920
1920
  tracks: Partial<BufferCodecsData> | null;
1921
1921
  private hasDetails;
1922
1922
  private mediaAttached;
1923
- private playoutOffset;
1924
1923
  constructor(HlsPlayerClass: typeof Hls, userConfig: Partial<HlsConfig>, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);
1925
1924
  private checkPlayout;
1926
1925
  get destroyed(): boolean;
@@ -1931,6 +1930,7 @@ export declare class HlsAssetPlayer {
1931
1930
  get currentTime(): number;
1932
1931
  get duration(): number;
1933
1932
  get remaining(): number;
1933
+ get startOffset(): number;
1934
1934
  get timelineOffset(): number;
1935
1935
  set timelineOffset(value: number);
1936
1936
  private getAssetTime;
@@ -2269,6 +2269,14 @@ export declare interface InterstitialEventWithAssetList extends InterstitialEven
2269
2269
 
2270
2270
  export declare type InterstitialId = string;
2271
2271
 
2272
+ export declare interface InterstitialPlayer {
2273
+ currentTime: number;
2274
+ duration: number;
2275
+ assetPlayers: (HlsAssetPlayer | null)[];
2276
+ playingIndex: number;
2277
+ scheduleItem: InterstitialScheduleEventItem | null;
2278
+ }
2279
+
2272
2280
  export declare interface InterstitialsBufferedToBoundaryData {
2273
2281
  events: InterstitialEvent[];
2274
2282
  schedule: InterstitialScheduleItem[];
@@ -2331,7 +2339,9 @@ export declare class InterstitialsController extends Logger implements NetworkCo
2331
2339
  private playingItem;
2332
2340
  private bufferingItem;
2333
2341
  private waitingItem;
2342
+ private endedItem;
2334
2343
  private playingAsset;
2344
+ private endedAsset;
2335
2345
  private bufferingAsset;
2336
2346
  private shouldPlay;
2337
2347
  constructor(hls: Hls, HlsPlayerClass: typeof Hls);
@@ -2349,6 +2359,8 @@ export declare class InterstitialsController extends Logger implements NetworkCo
2349
2359
  private clearScheduleState;
2350
2360
  private onMediaDetaching;
2351
2361
  get interstitialsManager(): InterstitialsManager | null;
2362
+ private get effectivePlayingItem();
2363
+ private get effectivePlayingAsset();
2352
2364
  private get playingLastItem();
2353
2365
  private get playbackStarted();
2354
2366
  private get currentTime();
@@ -2418,18 +2430,16 @@ export declare class InterstitialsController extends Logger implements NetworkCo
2418
2430
 
2419
2431
  export declare interface InterstitialsManager {
2420
2432
  events: InterstitialEvent[];
2421
- playerQueue: HlsAssetPlayer[];
2422
2433
  schedule: InterstitialScheduleItem[];
2423
- bufferingPlayer: HlsAssetPlayer | null;
2434
+ interstitialPlayer: InterstitialPlayer | null;
2435
+ playerQueue: HlsAssetPlayer[];
2424
2436
  bufferingAsset: InterstitialAssetItem | null;
2425
2437
  bufferingItem: InterstitialScheduleItem | null;
2426
2438
  bufferingIndex: number;
2427
2439
  playingAsset: InterstitialAssetItem | null;
2428
2440
  playingItem: InterstitialScheduleItem | null;
2429
2441
  playingIndex: number;
2430
- waitingIndex: number;
2431
2442
  primary: PlayheadTimes;
2432
- playout: PlayheadTimes;
2433
2443
  integrated: PlayheadTimes;
2434
2444
  skip: () => void;
2435
2445
  }
@@ -3190,7 +3200,6 @@ export declare type PlayheadTimes = {
3190
3200
  currentTime: number;
3191
3201
  duration: number;
3192
3202
  seekableStart: number;
3193
- seekTo: (time: number) => void;
3194
3203
  };
3195
3204
 
3196
3205
  export declare const enum PlaylistContextType {