@volcengine/veplayer 1.19.1-rc.1 → 1.19.2-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 +18 -3
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +16 -3
- 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/index.d.ts
CHANGED
|
@@ -3446,18 +3446,31 @@ export interface IGetDramaInfoPerfInfo {
|
|
|
3446
3446
|
* JSB 获取短剧信息返回结果
|
|
3447
3447
|
*/
|
|
3448
3448
|
export interface IJSBCallbackResult {
|
|
3449
|
+
/** {zh} @brief 顶层 Native 通参;旧客户端可缺失。 */
|
|
3450
|
+
/** {en} @brief Top-level Native tracking fields; absent on older clients. */
|
|
3451
|
+
tracking_context?: {
|
|
3452
|
+
enter_from?: string;
|
|
3453
|
+
minis_type?: string;
|
|
3454
|
+
minis_id?: string;
|
|
3455
|
+
ttoclid?: string;
|
|
3456
|
+
};
|
|
3449
3457
|
is_success: number | boolean;
|
|
3450
3458
|
error?: MinisError;
|
|
3451
3459
|
data?: {
|
|
3452
3460
|
status: number;
|
|
3453
3461
|
drama_info: {
|
|
3454
3462
|
album_id: string;
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3463
|
+
album_name?: string;
|
|
3464
|
+
episode_total_num?: number;
|
|
3465
|
+
drama_name?: string;
|
|
3466
|
+
album_cover?: string;
|
|
3467
|
+
drama_cover?: string;
|
|
3468
|
+
album_description?: string;
|
|
3469
|
+
drama_description?: string;
|
|
3458
3470
|
};
|
|
3459
3471
|
episode_info: {
|
|
3460
3472
|
episode_id: string;
|
|
3473
|
+
episode_current_num?: number;
|
|
3461
3474
|
episode_name: string;
|
|
3462
3475
|
episode_cover: string;
|
|
3463
3476
|
episode_description: string;
|
|
@@ -7102,6 +7115,7 @@ export declare const enum LangTextKey {
|
|
|
7102
7115
|
NETWORK_URL_EXPIRE = "NETWORK_URL_EXPIRE",
|
|
7103
7116
|
NETWORK_URL_SIGN = "NETWORK_URL_SIGN",
|
|
7104
7117
|
NETWORK_ENCRYPT_HLS_ERR = "NETWORK_ENCRYPT_HLS_ERR",
|
|
7118
|
+
DECODER_INIT_NOT_SUPPORTED = "DECODER_INIT_NOT_SUPPORTED",
|
|
7105
7119
|
MEDIA_ERR = "MEDIA_ERR",
|
|
7106
7120
|
MEDIA_ERR_ABORTED = "MEDIA_ERR_ABORTED",
|
|
7107
7121
|
MEDIA_ERR_NETWORK = "MEDIA_ERR_NETWORK",
|
|
@@ -7227,6 +7241,7 @@ declare class AuthToken extends SdkPlugin {
|
|
|
7227
7241
|
getVideoInfo(sourceConfigs?: IPlayerConfig): Promise<{
|
|
7228
7242
|
vid: string;
|
|
7229
7243
|
__mediaInfoCacheHit: boolean;
|
|
7244
|
+
__dramaTrackingContext: Record<string, unknown>;
|
|
7230
7245
|
playList: Stream[];
|
|
7231
7246
|
codec: ICodecType;
|
|
7232
7247
|
defaultDefinition: string;
|