@volcengine/veplayer 1.20.0-rc.14 → 1.20.0-rc.15
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 +3 -2
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- 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
|
@@ -9105,7 +9105,7 @@ declare class VePlayer {
|
|
|
9105
9105
|
/** {zh}
|
|
9106
9106
|
* @brief 全局设置是否为 MSE 媒体请求添加 x-tt-trace-id,默认关闭。
|
|
9107
9107
|
* @param enable - 是否开启。新建播放器或下一次 playNext 时生效,当前播放保持原设置。
|
|
9108
|
-
* @notes
|
|
9108
|
+
* @notes CDN 需允许 x-tt-trace-id。开启后新启动的 MP4/HLS 预加载携带 trace,首次播放沿用;缓存重复消费通过 preload_trace_ids 日志字段关联来源。
|
|
9109
9109
|
* @example
|
|
9110
9110
|
* VePlayer.setMediaTraceEnabled(true);
|
|
9111
9111
|
* @list Api
|
|
@@ -9113,7 +9113,7 @@ declare class VePlayer {
|
|
|
9113
9113
|
/** {en}
|
|
9114
9114
|
* @brief Globally enable x-tt-trace-id on MSE media requests. Disabled by default.
|
|
9115
9115
|
* @param enable - Applies to new players and the next playNext; the current playback is unchanged.
|
|
9116
|
-
* @notes The CDN must allow x-tt-trace-id
|
|
9116
|
+
* @notes The CDN must allow x-tt-trace-id. New MP4/HLS preloads carry a trace adopted by the first playback; later cache consumers report the origin in preload_trace_ids.
|
|
9117
9117
|
* @example
|
|
9118
9118
|
* VePlayer.setMediaTraceEnabled(true);
|
|
9119
9119
|
* @list Api
|
|
@@ -9676,6 +9676,7 @@ declare class VePlayer {
|
|
|
9676
9676
|
* @memberof VePlayer
|
|
9677
9677
|
*/
|
|
9678
9678
|
updateAuthToken(config: IPlayAuthTokenConfig): Promise<void>;
|
|
9679
|
+
private _prepareMediaTrace;
|
|
9679
9680
|
private _finishMediaPreparation;
|
|
9680
9681
|
private _playerPlayNext;
|
|
9681
9682
|
/** {zh}
|