@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 +1 -14
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +0 -14
- 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
|
@@ -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 {
|