@volcengine/veplayer 1.19.0 → 1.19.1-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 +14 -0
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +14 -0
- 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,6 +3385,19 @@ 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;
|
|
3388
3401
|
/**
|
|
3389
3402
|
* 低版本 app 下验证 TTOP 签发的 playAuthToken 时使用的密钥
|
|
3390
3403
|
* 通过 JSB(如 minis.getSecret)从 Native 获取,用于 HMAC-SHA256 签名校验
|
|
@@ -8383,6 +8396,7 @@ declare function getMediaInfoCacheConfig(): NormalizedMediaInfoCacheConfig;
|
|
|
8383
8396
|
export interface DramaIdentity {
|
|
8384
8397
|
albumId: string | null;
|
|
8385
8398
|
episodeId: string | null;
|
|
8399
|
+
vid: string | null;
|
|
8386
8400
|
}
|
|
8387
8401
|
export declare type PlayerPlaybackState = "creating" | "ready" | "playing" | "paused" | "buffering" | "ended" | "error" | "destroyed";
|
|
8388
8402
|
export interface PlayerPlaybackStateSnapshot extends DramaIdentity {
|