@volcengine/veplayer 1.19.2-rc.7 → 1.19.2-rc.8
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 +4 -33
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +4 -21
- package/lite.esm.mjs +2 -2
- package/lite.min.js +2 -2
- package/package.json +1 -1
- package/plugin/hlsEncrypt.js +2 -2
- package/plugin/hlsjsPro.js +2 -2
- 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 +2 -2
- package/plugin/modules/hlsjs.mjs +1 -1
- package/plugin/modules/hlsjsPro.mjs +2 -2
- 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/index.d.ts
CHANGED
|
@@ -3350,15 +3350,6 @@ export interface IGetPlayInfoRes {
|
|
|
3350
3350
|
* 短剧环境配置接口
|
|
3351
3351
|
*/
|
|
3352
3352
|
export interface ITTDramaEnv {
|
|
3353
|
-
/** {zh}
|
|
3354
|
-
* @brief 首次 TTMinis.init 调用的 Unix 毫秒时间,用于计算首个视频的起播耗时。
|
|
3355
|
-
* @hidden
|
|
3356
|
-
*/
|
|
3357
|
-
/** {en}
|
|
3358
|
-
* @brief Unix timestamp in milliseconds of the first TTMinis.init call, used for first-video startup duration.
|
|
3359
|
-
* @hidden
|
|
3360
|
-
*/
|
|
3361
|
-
pageLoadStartTime?: number;
|
|
3362
3353
|
/** 云服务商,默认从构建时 env.__PLATFORM__ 获取,未注入时默认为 byteplus */
|
|
3363
3354
|
channel?: "volcengine" | "byteplus";
|
|
3364
3355
|
/**
|
|
@@ -3455,35 +3446,18 @@ export interface IGetDramaInfoPerfInfo {
|
|
|
3455
3446
|
* JSB 获取短剧信息返回结果
|
|
3456
3447
|
*/
|
|
3457
3448
|
export interface IJSBCallbackResult {
|
|
3458
|
-
/** {zh} @brief 旧回包的顶层 Native 通参;优先使用 data.tracking_context。 */
|
|
3459
|
-
/** {en} @brief Legacy top-level tracking fields; data.tracking_context takes priority. */
|
|
3460
|
-
tracking_context?: {
|
|
3461
|
-
enter_from?: string;
|
|
3462
|
-
minis_type?: string;
|
|
3463
|
-
minis_id?: string;
|
|
3464
|
-
ttoclid?: string;
|
|
3465
|
-
};
|
|
3466
3449
|
is_success: number | boolean;
|
|
3467
3450
|
error?: MinisError;
|
|
3468
3451
|
data?: {
|
|
3469
|
-
/** {zh} @brief Native 埋点通参;缺失时不报对应字段。 */
|
|
3470
|
-
/** {en} @brief Native tracking fields; omitted fields are not reported. */
|
|
3471
|
-
tracking_context?: IJSBCallbackResult["tracking_context"];
|
|
3472
3452
|
status: number;
|
|
3473
3453
|
drama_info: {
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
drama_name?: string;
|
|
3479
|
-
album_cover?: string;
|
|
3480
|
-
drama_cover?: string;
|
|
3481
|
-
album_description?: string;
|
|
3482
|
-
drama_description?: string;
|
|
3454
|
+
album_id: string;
|
|
3455
|
+
drama_name: string;
|
|
3456
|
+
drama_cover: string;
|
|
3457
|
+
drama_description: string;
|
|
3483
3458
|
};
|
|
3484
3459
|
episode_info: {
|
|
3485
3460
|
episode_id: string;
|
|
3486
|
-
episode_current_num?: number;
|
|
3487
3461
|
episode_name: string;
|
|
3488
3462
|
episode_cover: string;
|
|
3489
3463
|
episode_description: string;
|
|
@@ -7128,7 +7102,6 @@ export declare const enum LangTextKey {
|
|
|
7128
7102
|
NETWORK_URL_EXPIRE = "NETWORK_URL_EXPIRE",
|
|
7129
7103
|
NETWORK_URL_SIGN = "NETWORK_URL_SIGN",
|
|
7130
7104
|
NETWORK_ENCRYPT_HLS_ERR = "NETWORK_ENCRYPT_HLS_ERR",
|
|
7131
|
-
DECODER_INIT_NOT_SUPPORTED = "DECODER_INIT_NOT_SUPPORTED",
|
|
7132
7105
|
MEDIA_ERR = "MEDIA_ERR",
|
|
7133
7106
|
MEDIA_ERR_ABORTED = "MEDIA_ERR_ABORTED",
|
|
7134
7107
|
MEDIA_ERR_NETWORK = "MEDIA_ERR_NETWORK",
|
|
@@ -7254,8 +7227,6 @@ declare class AuthToken extends SdkPlugin {
|
|
|
7254
7227
|
getVideoInfo(sourceConfigs?: IPlayerConfig): Promise<{
|
|
7255
7228
|
vid: string;
|
|
7256
7229
|
__mediaInfoCacheHit: boolean;
|
|
7257
|
-
__serverFetchDuration: number;
|
|
7258
|
-
__dramaTrackingContext: Record<string, unknown>;
|
|
7259
7230
|
playList: Stream[];
|
|
7260
7231
|
codec: ICodecType;
|
|
7261
7232
|
defaultDefinition: string;
|