@byteplus/veplayer 1.19.0-rc.4 → 1.19.0-rc.5
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
|
@@ -3194,6 +3194,19 @@ export interface ITTDramaEnv {
|
|
|
3194
3194
|
* @type {function}
|
|
3195
3195
|
*/
|
|
3196
3196
|
sendLog: (EventName: string, params: Record<string, any>) => void;
|
|
3197
|
+
/** {zh}
|
|
3198
|
+
* @hidden
|
|
3199
|
+
* @brief 当前在播短剧身份变化通知,由宿主集成层消费。
|
|
3200
|
+
*/
|
|
3201
|
+
/** {en}
|
|
3202
|
+
* @hidden
|
|
3203
|
+
* @brief Notifies the host integration when the current drama playback identity changes.
|
|
3204
|
+
*/
|
|
3205
|
+
onCurrentDramaPlaybackContextChange?: (context: {
|
|
3206
|
+
albumId: string | null;
|
|
3207
|
+
episodeId: string | null;
|
|
3208
|
+
vid: string | null;
|
|
3209
|
+
} | null) => boolean | void;
|
|
3197
3210
|
/**
|
|
3198
3211
|
* 低版本 app 下验证 TTOP 签发的 playAuthToken 时使用的密钥
|
|
3199
3212
|
* 通过 JSB(如 minis.getSecret)从 Native 获取,用于 HMAC-SHA256 签名校验
|
|
@@ -7592,6 +7605,7 @@ declare function getMediaInfoCacheConfig(): NormalizedMediaInfoCacheConfig;
|
|
|
7592
7605
|
export interface DramaIdentity {
|
|
7593
7606
|
albumId: string | null;
|
|
7594
7607
|
episodeId: string | null;
|
|
7608
|
+
vid: string | null;
|
|
7595
7609
|
}
|
|
7596
7610
|
export declare type PlayerPlaybackState = "creating" | "ready" | "playing" | "paused" | "buffering" | "ended" | "error" | "destroyed";
|
|
7597
7611
|
export interface PlayerPlaybackStateSnapshot extends DramaIdentity {
|