@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/index.d.ts +29 -2
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +9 -0
- package/lite.esm.mjs +2 -2
- package/lite.min.js +2 -2
- package/package.json +1 -1
- package/plugin/modules/DashAbralgo.mjs +1 -1
- package/plugin/modules/XGVideo.mjs +1 -1
- package/plugin/modules/danmuMask.mjs +1 -1
- package/plugin/modules/danmujs.mjs +1 -1
- package/plugin/modules/dash.mjs +1 -1
- package/plugin/modules/flv.mjs +1 -1
- package/plugin/modules/hls.mjs +1 -1
- package/plugin/modules/hlsEncrypt.mjs +1 -1
- package/plugin/modules/hlsjs.mjs +1 -1
- package/plugin/modules/hlsjsPro.mjs +1 -1
- package/plugin/modules/mp4Encrypt.mjs +1 -1
- package/plugin/modules/preloader.mjs +1 -1
- package/plugin/modules/streamprobe.mjs +1 -1
- package/plugin/modules/vestrategy.mjs +1 -1
- package/plugin/modules/vestrategy_adapt_range.mjs +1 -1
- package/plugin/modules/vestrategy_h265.mjs +1 -1
- package/plugin/modules/vestrategy_preload.mjs +1 -1
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;
|