@volcengine/veplayer 1.21.1-rc.3 → 1.21.1-rc.5
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 +55 -0
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +24 -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
|
@@ -908,6 +908,30 @@ interface AudioTrackOption {
|
|
|
908
908
|
*/
|
|
909
909
|
[key: string]: unknown;
|
|
910
910
|
}
|
|
911
|
+
/** {zh}
|
|
912
|
+
* @detail ref
|
|
913
|
+
* @brief 当前播放的内核预热接管结果;不表示首帧已上屏。
|
|
914
|
+
* @example const { hit } = player.kernelWarmupData;
|
|
915
|
+
*/
|
|
916
|
+
/** {en}
|
|
917
|
+
* @detail ref
|
|
918
|
+
* @brief Kernel warmup adoption result for this playback, not visible-frame proof.
|
|
919
|
+
* @example const { hit } = player.kernelWarmupData;
|
|
920
|
+
*/
|
|
921
|
+
export interface KernelWarmupData {
|
|
922
|
+
/** {zh} @brief 1 表示已成功接管;0 表示尚无成功接管记录。 */
|
|
923
|
+
/** {en} @brief 1 means successful adoption; 0 means no successful adoption yet. */
|
|
924
|
+
hit: 0 | 1;
|
|
925
|
+
/** {zh} @brief 目标视频 ID(可用时)。 */
|
|
926
|
+
/** {en} @brief Target video ID, when available. */
|
|
927
|
+
vid?: string;
|
|
928
|
+
/** {zh} @brief 目标短剧 ID(可用时)。 */
|
|
929
|
+
/** {en} @brief Target drama ID, when available. */
|
|
930
|
+
albumId?: string;
|
|
931
|
+
/** {zh} @brief 目标剧集 ID(可用时)。 */
|
|
932
|
+
/** {en} @brief Target episode ID, when available. */
|
|
933
|
+
episodeId?: string;
|
|
934
|
+
}
|
|
911
935
|
/** Video and audio codec names supported by the player. */
|
|
912
936
|
export declare const CodecType: {
|
|
913
937
|
readonly H264: "h264";
|