@byteplus/veplayer 1.20.1-rc.0 → 1.21.1-rc.0

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/lite.d.ts CHANGED
@@ -1070,6 +1070,13 @@ export interface LitePreloadStrategyConfig {
1070
1070
  }
1071
1071
  /** Lite strategy initialization. Full strategy names are deliberately absent. */
1072
1072
  export interface LiteStrategyInitOptions {
1073
+ /** HLS kernel warmup; additionally requires explicit preload and setPreloadList. */
1074
+ kernelWarmup?: {
1075
+ enabled?: boolean;
1076
+ timeoutMs?: number;
1077
+ maxAgeMs?: number;
1078
+ minBufferSeconds?: number;
1079
+ };
1073
1080
  /** Optional for a configured short-drama environment. */
1074
1081
  appId?: number;
1075
1082
  /**
@@ -1578,6 +1585,8 @@ type LiteHlsEventPayloadMap = {
1578
1585
  hls_level_switched: IHlsLevelSwitchEvent;
1579
1586
  };
1580
1587
  export interface LiteVePlayer {
1588
+ /** Diagnostic preparation state, not a visible first-frame measurement. */
1589
+ getKernelWarmupState(): string;
1581
1590
  readonly preLoadData: {
1582
1591
  hit: number;
1583
1592
  duration?: number;