@volcengine/veplayer 1.19.1 → 1.19.2-rc.1
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 +23 -4
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +21 -4
- 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,35 @@ export interface IGetDramaInfoPerfInfo {
|
|
|
3446
3446
|
* JSB 获取短剧信息返回结果
|
|
3447
3447
|
*/
|
|
3448
3448
|
export interface IJSBCallbackResult {
|
|
3449
|
+
/** {zh} @brief 旧回包的顶层 Native 通参;优先使用 data.tracking_context。 */
|
|
3450
|
+
/** {en} @brief Legacy top-level tracking fields; data.tracking_context takes priority. */
|
|
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?: {
|
|
3460
|
+
/** {zh} @brief Native 埋点通参;缺失时不报对应字段。 */
|
|
3461
|
+
/** {en} @brief Native tracking fields; omitted fields are not reported. */
|
|
3462
|
+
tracking_context?: IJSBCallbackResult["tracking_context"];
|
|
3452
3463
|
status: number;
|
|
3453
3464
|
drama_info: {
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3465
|
+
drama_id?: string;
|
|
3466
|
+
album_id?: string;
|
|
3467
|
+
album_name?: string;
|
|
3468
|
+
episode_total_num?: number;
|
|
3469
|
+
drama_name?: string;
|
|
3470
|
+
album_cover?: string;
|
|
3471
|
+
drama_cover?: string;
|
|
3472
|
+
album_description?: string;
|
|
3473
|
+
drama_description?: string;
|
|
3458
3474
|
};
|
|
3459
3475
|
episode_info: {
|
|
3460
3476
|
episode_id: string;
|
|
3477
|
+
episode_current_num?: number;
|
|
3461
3478
|
episode_name: string;
|
|
3462
3479
|
episode_cover: string;
|
|
3463
3480
|
episode_description: string;
|
|
@@ -7102,6 +7119,7 @@ export declare const enum LangTextKey {
|
|
|
7102
7119
|
NETWORK_URL_EXPIRE = "NETWORK_URL_EXPIRE",
|
|
7103
7120
|
NETWORK_URL_SIGN = "NETWORK_URL_SIGN",
|
|
7104
7121
|
NETWORK_ENCRYPT_HLS_ERR = "NETWORK_ENCRYPT_HLS_ERR",
|
|
7122
|
+
DECODER_INIT_NOT_SUPPORTED = "DECODER_INIT_NOT_SUPPORTED",
|
|
7105
7123
|
MEDIA_ERR = "MEDIA_ERR",
|
|
7106
7124
|
MEDIA_ERR_ABORTED = "MEDIA_ERR_ABORTED",
|
|
7107
7125
|
MEDIA_ERR_NETWORK = "MEDIA_ERR_NETWORK",
|
|
@@ -7227,6 +7245,7 @@ declare class AuthToken extends SdkPlugin {
|
|
|
7227
7245
|
getVideoInfo(sourceConfigs?: IPlayerConfig): Promise<{
|
|
7228
7246
|
vid: string;
|
|
7229
7247
|
__mediaInfoCacheHit: boolean;
|
|
7248
|
+
__dramaTrackingContext: Record<string, unknown>;
|
|
7230
7249
|
playList: Stream[];
|
|
7231
7250
|
codec: ICodecType;
|
|
7232
7251
|
defaultDefinition: string;
|