hls.js 1.6.3-0.canary.11233 → 1.6.3-0.canary.11236

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
@@ -1958,7 +1958,7 @@ export declare class HlsAssetPlayer {
1958
1958
  private mediaAttached;
1959
1959
  private _currentTime?;
1960
1960
  private _bufferedEosTime?;
1961
- constructor(HlsPlayerClass: typeof Hls, userConfig: Partial<HlsConfig>, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);
1961
+ constructor(HlsPlayerClass: typeof Hls, userConfig: HlsAssetPlayerConfig, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);
1962
1962
  get appendInPlace(): boolean;
1963
1963
  bufferedInPlaceToEnd(media?: HTMLMediaElement | null): boolean;
1964
1964
  private checkPlayout;
@@ -1989,6 +1989,8 @@ export declare class HlsAssetPlayer {
1989
1989
  toString(): string;
1990
1990
  }
1991
1991
 
1992
+ export declare type HlsAssetPlayerConfig = Partial<HlsConfig> & Required<Pick<HlsConfig, 'assetPlayerId' | 'primarySessionId'>>;
1993
+
1992
1994
  export declare interface HlsChunkPerformanceTiming extends HlsPerformanceTiming {
1993
1995
  executeStart: number;
1994
1996
  executeEnd: number;
package/dist/hls.d.ts CHANGED
@@ -1958,7 +1958,7 @@ export declare class HlsAssetPlayer {
1958
1958
  private mediaAttached;
1959
1959
  private _currentTime?;
1960
1960
  private _bufferedEosTime?;
1961
- constructor(HlsPlayerClass: typeof Hls, userConfig: Partial<HlsConfig>, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);
1961
+ constructor(HlsPlayerClass: typeof Hls, userConfig: HlsAssetPlayerConfig, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);
1962
1962
  get appendInPlace(): boolean;
1963
1963
  bufferedInPlaceToEnd(media?: HTMLMediaElement | null): boolean;
1964
1964
  private checkPlayout;
@@ -1989,6 +1989,8 @@ export declare class HlsAssetPlayer {
1989
1989
  toString(): string;
1990
1990
  }
1991
1991
 
1992
+ export declare type HlsAssetPlayerConfig = Partial<HlsConfig> & Required<Pick<HlsConfig, 'assetPlayerId' | 'primarySessionId'>>;
1993
+
1992
1994
  export declare interface HlsChunkPerformanceTiming extends HlsPerformanceTiming {
1993
1995
  executeStart: number;
1994
1996
  executeEnd: number;
package/dist/hls.js CHANGED
@@ -1165,7 +1165,7 @@
1165
1165
  // Some browsers don't allow to use bind on console object anyway
1166
1166
  // fallback to default if needed
1167
1167
  try {
1168
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.3-0.canary.11233");
1168
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.3-0.canary.11236");
1169
1169
  } catch (e) {
1170
1170
  /* log fn threw an exception. All logger methods are no-ops. */
1171
1171
  return createLogger();
@@ -16677,7 +16677,7 @@
16677
16677
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
16678
16678
  }
16679
16679
 
16680
- var version = "1.6.3-0.canary.11233";
16680
+ var version = "1.6.3-0.canary.11236";
16681
16681
 
16682
16682
  // ensure the worker ends up in the bundle
16683
16683
  // If the worker should not be included this gets aliased to empty.js
@@ -23612,7 +23612,7 @@
23612
23612
  this.assetItem = assetItem;
23613
23613
  var uri = assetItem.uri;
23614
23614
  try {
23615
- uri = getInterstitialUrl(uri, hls.sessionId).href;
23615
+ uri = getInterstitialUrl(uri, userConfig.primarySessionId).href;
23616
23616
  } catch (error) {
23617
23617
  // Ignore error parsing ASSET_URI or adding _HLS_primary_id to it. The
23618
23618
  // issue should surface as an INTERSTITIAL_ASSET_ERROR loading the asset.
package/dist/hls.js.d.ts CHANGED
@@ -1958,7 +1958,7 @@ export declare class HlsAssetPlayer {
1958
1958
  private mediaAttached;
1959
1959
  private _currentTime?;
1960
1960
  private _bufferedEosTime?;
1961
- constructor(HlsPlayerClass: typeof Hls, userConfig: Partial<HlsConfig>, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);
1961
+ constructor(HlsPlayerClass: typeof Hls, userConfig: HlsAssetPlayerConfig, interstitial: InterstitialEvent, assetItem: InterstitialAssetItem);
1962
1962
  get appendInPlace(): boolean;
1963
1963
  bufferedInPlaceToEnd(media?: HTMLMediaElement | null): boolean;
1964
1964
  private checkPlayout;
@@ -1989,6 +1989,8 @@ export declare class HlsAssetPlayer {
1989
1989
  toString(): string;
1990
1990
  }
1991
1991
 
1992
+ export declare type HlsAssetPlayerConfig = Partial<HlsConfig> & Required<Pick<HlsConfig, 'assetPlayerId' | 'primarySessionId'>>;
1993
+
1992
1994
  export declare interface HlsChunkPerformanceTiming extends HlsPerformanceTiming {
1993
1995
  executeStart: number;
1994
1996
  executeEnd: number;