@volcengine/veplayer 1.19.0-rc.7 → 1.19.0-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 CHANGED
@@ -3385,19 +3385,6 @@ export interface ITTDramaEnv {
3385
3385
  * @type {function}
3386
3386
  */
3387
3387
  sendLog: (EventName: string, params: Record<string, any>) => void;
3388
- /** {zh}
3389
- * @hidden
3390
- * @brief 当前在播短剧身份变化通知,由宿主集成层消费。
3391
- */
3392
- /** {en}
3393
- * @hidden
3394
- * @brief Notifies the host integration when the current drama playback identity changes.
3395
- */
3396
- onCurrentDramaPlaybackContextChange?: (context: {
3397
- albumId: string | null;
3398
- episodeId: string | null;
3399
- vid: string | null;
3400
- } | null) => boolean | void;
3401
3388
  /**
3402
3389
  * 低版本 app 下验证 TTOP 签发的 playAuthToken 时使用的密钥
3403
3390
  * 通过 JSB(如 minis.getSecret)从 Native 获取,用于 HMAC-SHA256 签名校验
@@ -7203,6 +7190,7 @@ declare class AuthToken extends SdkPlugin {
7203
7190
  beforePlayerCreate(): Promise<void>;
7204
7191
  getVideoInfo(sourceConfigs?: IPlayerConfig): Promise<{
7205
7192
  vid: string;
7193
+ __mediaInfoCacheHit: boolean;
7206
7194
  playList: Stream[];
7207
7195
  codec: ICodecType;
7208
7196
  defaultDefinition: string;
@@ -8372,7 +8360,6 @@ declare function getMediaInfoCacheConfig(): NormalizedMediaInfoCacheConfig;
8372
8360
  export interface DramaIdentity {
8373
8361
  albumId: string | null;
8374
8362
  episodeId: string | null;
8375
- vid: string | null;
8376
8363
  }
8377
8364
  export declare type PlayerPlaybackState = "creating" | "ready" | "playing" | "paused" | "buffering" | "ended" | "error" | "destroyed";
8378
8365
  export interface PlayerPlaybackStateSnapshot extends DramaIdentity {