@byteplus/veplayer 1.20.0-rc.6 → 1.20.0-rc.7

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 CHANGED
@@ -4774,19 +4774,19 @@ export interface IPlayerConfig extends IPlayerOptions {
4774
4774
  /** {zh}
4775
4775
  * @brief 起播和 playNext 的 getDramaInfo JSB 超时与重试配置。
4776
4776
  * @list Options
4777
- * @notes timeout 和 retryInterval 单位为毫秒,默认 3000 和 1000;retryCount 默认 3,表示首次请求之外的重试次数。仅重试超时、调用异常及 is_success 为 false 的结果,不重试业务审核失败。timeout 必须大于 0,retryCount 为非负整数,retryInterval 为非负数;无效值回退默认值。
4777
+ * @notes timeout 和 retryInterval 单位为毫秒,默认 5000 和 1000;retryCount 默认 3,表示首次请求之外的重试次数。仅重试超时、调用异常及 is_success 为 false 的结果,不重试业务审核失败。timeout 必须大于 0,retryCount 为非负整数,retryInterval 为非负数;无效值回退默认值。
4778
4778
  * @example
4779
4779
  * ```javascript
4780
- * new VePlayer({ dramaInfoRequest: { timeout: 3000, retryCount: 3, retryInterval: 1000 } });
4780
+ * new VePlayer({ dramaInfoRequest: { timeout: 5000, retryCount: 3, retryInterval: 1000 } });
4781
4781
  * ```
4782
4782
  */
4783
4783
  /** {en}
4784
4784
  * @brief Configure getDramaInfo JSB timeouts and retries for startup and playNext.
4785
4785
  * @list Options
4786
- * @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.
4786
+ * @notes timeout and retryInterval are in milliseconds, defaulting to 5000 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.
4787
4787
  * @example
4788
4788
  * ```javascript
4789
- * new VePlayer({ dramaInfoRequest: { timeout: 3000, retryCount: 3, retryInterval: 1000 } });
4789
+ * new VePlayer({ dramaInfoRequest: { timeout: 5000, retryCount: 3, retryInterval: 1000 } });
4790
4790
  * ```
4791
4791
  */
4792
4792
  dramaInfoRequest?: {
@@ -9149,7 +9149,10 @@ declare class VePlayer {
9149
9149
  lineId?: string | number;
9150
9150
  definition?: string;
9151
9151
  startTime?: number;
9152
- volume?: IVolume;
9152
+ volume?: IVolume; /** {en}
9153
+ * @hidden
9154
+ * @brief Get the perf report of the latest createPlayer.
9155
+ */
9153
9156
  DanmuPlugin?: any;
9154
9157
  LiveSubtitlesIconPlugin?: any;
9155
9158
  };