@volcengine/veplayer 1.17.0-rc.9 → 1.17.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 CHANGED
@@ -3456,6 +3456,15 @@ export interface IPlayerConfig extends IPlayerOptions {
3456
3456
  * @default -
3457
3457
  */
3458
3458
  audioPreference?: AudioTrackOption;
3459
+ /** {zh}
3460
+ * @brief 用户主动切换音轨时执行的微小 seek 偏移量(秒),用于修复偶发的有画无声问题。设为 `0` 可关闭。
3461
+ * @default 0.1
3462
+ */
3463
+ /** {en}
3464
+ * @brief Micro-seek offset in seconds applied when the user switches audio tracks, to fix occasional video-without-audio issues. Set to `0` to disable.
3465
+ * @default 0.1
3466
+ */
3467
+ audioTrackSwitchSeekOffset?: number;
3459
3468
  /** {zh}
3460
3469
  * @brief 插件,可自行选择安装的插件,支持{@link https://h5player.bytedance.com/plugins/ 西瓜播放器插件}。
3461
3470
  * @default -