@volcengine/veplayer 1.19.0 → 1.20.0-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 CHANGED
@@ -3433,18 +3433,31 @@ export interface IGetDramaInfoPerfInfo {
3433
3433
  * JSB 获取短剧信息返回结果
3434
3434
  */
3435
3435
  export interface IJSBCallbackResult {
3436
+ /** {zh} @brief 顶层 Native 通参;旧客户端可缺失。 */
3437
+ /** {en} @brief Top-level Native tracking fields; absent on older clients. */
3438
+ tracking_context?: {
3439
+ enter_from?: string;
3440
+ minis_type?: string;
3441
+ minis_id?: string;
3442
+ ttoclid?: string;
3443
+ };
3436
3444
  is_success: number | boolean;
3437
3445
  error?: MinisError;
3438
3446
  data?: {
3439
3447
  status: number;
3440
3448
  drama_info: {
3441
3449
  album_id: string;
3442
- drama_name: string;
3443
- drama_cover: string;
3444
- drama_description: string;
3450
+ album_name?: string;
3451
+ episode_total_num?: number;
3452
+ drama_name?: string;
3453
+ album_cover?: string;
3454
+ drama_cover?: string;
3455
+ album_description?: string;
3456
+ drama_description?: string;
3445
3457
  };
3446
3458
  episode_info: {
3447
3459
  episode_id: string;
3460
+ episode_current_num?: number;
3448
3461
  episode_name: string;
3449
3462
  episode_cover: string;
3450
3463
  episode_description: string;
@@ -7089,6 +7102,7 @@ export declare const enum LangTextKey {
7089
7102
  NETWORK_URL_EXPIRE = "NETWORK_URL_EXPIRE",
7090
7103
  NETWORK_URL_SIGN = "NETWORK_URL_SIGN",
7091
7104
  NETWORK_ENCRYPT_HLS_ERR = "NETWORK_ENCRYPT_HLS_ERR",
7105
+ DECODER_INIT_NOT_SUPPORTED = "DECODER_INIT_NOT_SUPPORTED",
7092
7106
  MEDIA_ERR = "MEDIA_ERR",
7093
7107
  MEDIA_ERR_ABORTED = "MEDIA_ERR_ABORTED",
7094
7108
  MEDIA_ERR_NETWORK = "MEDIA_ERR_NETWORK",
@@ -7214,6 +7228,7 @@ declare class AuthToken extends SdkPlugin {
7214
7228
  getVideoInfo(sourceConfigs?: IPlayerConfig): Promise<{
7215
7229
  vid: string;
7216
7230
  __mediaInfoCacheHit: boolean;
7231
+ __dramaTrackingContext: Record<string, unknown>;
7217
7232
  playList: Stream[];
7218
7233
  codec: ICodecType;
7219
7234
  defaultDefinition: string;