@wscsports/blaze-web-sdk 0.24.0 → 0.24.1-beta

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wscsports/blaze-web-sdk",
3
- "version": "0.24.0",
3
+ "version": "0.24.1-beta",
4
4
  "main": "publish/index",
5
5
  "types": "publish/index",
6
6
  "files": [
@@ -4357,6 +4357,21 @@ export declare function validateLoggerConfigurationDetailed(config: ILoggerConfi
4357
4357
  export declare function sanitizeBatchSizeConfiguration(config: ILoggerConfiguration): ILoggerConfiguration;
4358
4358
  export declare function shouldIgnoreLog(logIdentifier: string, ignoredLogs: IIgnoredLog[]): boolean;
4359
4359
 
4360
+ export declare class HLSQualityManager {
4361
+ private static readonly MEMORY_DURATIONS;
4362
+ private static memory;
4363
+ private static getMemory;
4364
+ private static getDuration;
4365
+ private static getTypeLabel;
4366
+ private static isMemoryValid;
4367
+ static remember(level: number, width: number, height: number, isShortForm?: boolean): void;
4368
+ static recall(isShortForm?: boolean): number;
4369
+ static shouldUseMemory(isShortForm?: boolean): boolean;
4370
+ static getMemoryStatus(isShortForm?: boolean): string;
4371
+ static clear(isShortForm?: boolean): void;
4372
+ static getMemoryAge(isShortForm?: boolean): number;
4373
+ }
4374
+
4360
4375
  export * from './commands/player-buttons.command';
4361
4376
  export * from './commands/video-commands';
4362
4377
  export * from './components/timer';
@@ -4372,6 +4387,7 @@ export * from './strategy/long-form-hls.strategy';
4372
4387
  export * from './strategy/base-hls.strategy';
4373
4388
  export * from './strategy/short-form-hls.strategy';
4374
4389
  export * from './strategy/native-video.strategy';
4390
+ export * from './hls-quality-manager';
4375
4391
  export * from './interface/playback-strategy.interface';
4376
4392
  export * from './video-events';
4377
4393
 
@@ -4999,32 +5015,32 @@ export interface HLSConfig {
4999
5015
  }
5000
5016
  export declare const HLS_CONFIGS: {
5001
5017
  readonly LONG_FORM: {
5002
- readonly maxBufferLength: 30;
5003
- readonly maxMaxBufferLength: 30;
5018
+ readonly maxBufferLength: 15;
5019
+ readonly maxMaxBufferLength: 60;
5004
5020
  readonly maxBufferSize: number;
5005
5021
  readonly maxBufferHole: 4;
5006
- readonly fragLoadingMaxRetry: 5;
5007
- readonly fragLoadingRetryDelay: 1000;
5008
- readonly abrEwmaFastLive: 3;
5009
- readonly abrEwmaSlowLive: 9;
5010
- readonly abrEwmaFastVoD: 3;
5011
- readonly abrEwmaSlowVoD: 9;
5022
+ readonly fragLoadingMaxRetry: 3;
5023
+ readonly fragLoadingRetryDelay: 100;
5024
+ readonly abrEwmaFastLive: 2;
5025
+ readonly abrEwmaSlowLive: 3;
5026
+ readonly abrEwmaFastVoD: 2;
5027
+ readonly abrEwmaSlowVoD: 3;
5012
5028
  readonly abrBandWidthFactor: 0.95;
5013
- readonly abrBandWidthUpFactor: 0.7;
5029
+ readonly abrBandWidthUpFactor: 0.9;
5014
5030
  };
5015
5031
  readonly SHORT_FORM: {
5016
- readonly maxBufferLength: 3;
5017
- readonly maxMaxBufferLength: 5;
5032
+ readonly maxBufferLength: 5;
5033
+ readonly maxMaxBufferLength: 8;
5018
5034
  readonly maxBufferSize: number;
5019
5035
  readonly maxBufferHole: 0.5;
5020
- readonly fragLoadingMaxRetry: 2;
5021
- readonly fragLoadingRetryDelay: 200;
5022
- readonly abrEwmaFastLive: 1;
5023
- readonly abrEwmaSlowLive: 2;
5024
- readonly abrEwmaFastVoD: 1;
5025
- readonly abrEwmaSlowVoD: 2;
5026
- readonly abrBandWidthFactor: 0.9;
5027
- readonly abrBandWidthUpFactor: 0.8;
5036
+ readonly fragLoadingMaxRetry: 3;
5037
+ readonly fragLoadingRetryDelay: 100;
5038
+ readonly abrEwmaFastLive: 2;
5039
+ readonly abrEwmaSlowLive: 3;
5040
+ readonly abrEwmaFastVoD: 2;
5041
+ readonly abrEwmaSlowVoD: 3;
5042
+ readonly abrBandWidthFactor: 0.95;
5043
+ readonly abrBandWidthUpFactor: 0.9;
5028
5044
  };
5029
5045
  };
5030
5046
  export declare abstract class BaseHLSStrategy extends BasePlaybackStrategy {
@@ -5037,7 +5053,6 @@ export declare abstract class BaseHLSStrategy extends BasePlaybackStrategy {
5037
5053
  protected loaderTimeout?: ReturnType<typeof setTimeout>;
5038
5054
  protected recoveryTimeout?: ReturnType<typeof setTimeout>;
5039
5055
  protected seekRecoveryListener?: () => void;
5040
- protected boundOnManifestParsed: () => void;
5041
5056
  protected boundOnBufferAppended: () => void;
5042
5057
  protected boundOnFragParsed: () => void;
5043
5058
  protected boundOnLoadedMetadata: () => void;
@@ -5075,7 +5090,6 @@ export declare abstract class BaseHLSStrategy extends BasePlaybackStrategy {
5075
5090
  protected handlePlaybackTimeout(): void;
5076
5091
  protected handleSeekRecovery(seekTime: number): void;
5077
5092
  protected isSlowConnection(): boolean;
5078
- protected handleManifestParsed(): void;
5079
5093
  protected handleBufferAppended(): void;
5080
5094
  protected handleFragParsed(): void;
5081
5095
  protected handleError(event: any, data: any): void;
@@ -5137,6 +5151,7 @@ export declare class LongFormHlsStrategy extends BaseHLSStrategy {
5137
5151
  private videoOverlay?;
5138
5152
  initialize(options?: PlaybackStrategyOptions): void;
5139
5153
  private configureVideoElement;
5154
+ protected setupHLSInstance(src: string, startingTime: number): void;
5140
5155
  protected onLoadingState(): void;
5141
5156
  protected onBufferUpdate(progress: number): void;
5142
5157
  protected onError(event: any, data: any): void;