@volcengine/veplayer 1.19.0-rc.11 → 1.19.0-rc.13
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 +23 -0
- package/index.min.js +2 -2
- package/lite.cjs +2 -2
- package/lite.d.ts +5 -0
- package/lite.esm.mjs +2 -2
- package/lite.min.js +2 -2
- package/package.json +1 -1
- package/plugin/hlsEncrypt.js +2 -2
- package/plugin/hlsjsPro.js +2 -2
- 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 +2 -2
- package/plugin/modules/hlsjs.mjs +1 -1
- package/plugin/modules/hlsjsPro.mjs +2 -2
- 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
|
@@ -4732,6 +4732,29 @@ export interface IPlayerConfig extends IPlayerOptions {
|
|
|
4732
4732
|
* @brief Minis short-drama transcoding parameters.
|
|
4733
4733
|
*/
|
|
4734
4734
|
transcodeParam?: ITranscodeParam;
|
|
4735
|
+
/** {zh}
|
|
4736
|
+
* @brief 起播和 playNext 的 getDramaInfo JSB 超时与重试配置。
|
|
4737
|
+
* @list Options
|
|
4738
|
+
* @notes timeout 和 retryInterval 单位为毫秒,默认 3000 和 1000;retryCount 默认 3,表示首次请求之外的重试次数。仅重试超时、调用异常及 is_success 为 false 的结果,不重试业务审核失败。timeout 必须大于 0,retryCount 为非负整数,retryInterval 为非负数;无效值回退默认值。
|
|
4739
|
+
* @example
|
|
4740
|
+
* ```javascript
|
|
4741
|
+
* new VePlayer({ dramaInfoRequest: { timeout: 3000, retryCount: 3, retryInterval: 1000 } });
|
|
4742
|
+
* ```
|
|
4743
|
+
*/
|
|
4744
|
+
/** {en}
|
|
4745
|
+
* @brief Configure getDramaInfo JSB timeouts and retries for startup and playNext.
|
|
4746
|
+
* @list Options
|
|
4747
|
+
* @notes timeout and retryInterval are in milliseconds, defaulting to 3000 and 1000. retryCount defaults to 3 additional attempts. Only timeouts, invocation errors and is_success=false responses are retried; business review failures are not. timeout must be positive, retryCount a nonnegative integer and retryInterval nonnegative; invalid values use defaults.
|
|
4748
|
+
* @example
|
|
4749
|
+
* ```javascript
|
|
4750
|
+
* new VePlayer({ dramaInfoRequest: { timeout: 3000, retryCount: 3, retryInterval: 1000 } });
|
|
4751
|
+
* ```
|
|
4752
|
+
*/
|
|
4753
|
+
dramaInfoRequest?: {
|
|
4754
|
+
timeout?: number;
|
|
4755
|
+
retryCount?: number;
|
|
4756
|
+
retryInterval?: number;
|
|
4757
|
+
};
|
|
4735
4758
|
/** {zh}
|
|
4736
4759
|
* @brief Vid 播放配置项。应用服务端需通过 `vid` 生成临时临时播放 Token,下发给客户端。
|
|
4737
4760
|
* @type {IPlayAuthTokenConfig}
|