@volcengine/veplayer 2.12.0 → 2.12.2-rc.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.
@@ -5080,6 +5080,7 @@ declare namespace error {
5080
5080
  declare namespace event {
5081
5081
  const BaseEvents: {
5082
5082
  SEI: string;
5083
+ SEI_IN_TIME: string;
5083
5084
  PLAYER_CREATE_FINISH: string;
5084
5085
  FALLBACK_ERROR: string;
5085
5086
  FALLBACK: string;
@@ -5124,6 +5125,7 @@ declare namespace event {
5124
5125
  };
5125
5126
  const Events: {
5126
5127
  SEI: string;
5128
+ SEI_IN_TIME: string;
5127
5129
  PLAYER_CREATE_FINISH: string;
5128
5130
  FALLBACK_ERROR: string;
5129
5131
  FALLBACK: string;
@@ -10794,6 +10794,8 @@ var OptionList = /* @__PURE__ */ function() {
10794
10794
  const BaseEvents = {
10795
10795
  // sei
10796
10796
  SEI: "sei",
10797
+ // sei,在播放时间对齐到该 sei 的时间戳时抛出
10798
+ SEI_IN_TIME: "seiInTime",
10797
10799
  // 播放器完成创建
10798
10800
  PLAYER_CREATE_FINISH: "playerCreateFinish",
10799
10801
  FALLBACK_ERROR: "fallbackError",
@@ -10854,6 +10856,10 @@ const EVENT_TRANSFORMATION = {
10854
10856
  event: "core_event",
10855
10857
  shouldCallback: (data) => (data == null ? void 0 : data.eventName) === "core.sei"
10856
10858
  },
10859
+ [BaseEvents.SEI_IN_TIME]: {
10860
+ event: "core_event",
10861
+ shouldCallback: (data) => (data == null ? void 0 : data.eventName) === "core.seiintime"
10862
+ },
10857
10863
  [BaseEvents.RTM_NETWORK]: {
10858
10864
  event: "core_event",
10859
10865
  shouldCallback: (data) => (data == null ? void 0 : data.eventName) === "core.rtcnetwork"
@@ -14508,7 +14514,7 @@ class VePlayerBase {
14508
14514
  * @brief Retrieve the player SDK version number.
14509
14515
  */
14510
14516
  get playerVersion() {
14511
- return "2.12.0";
14517
+ return "2.12.2-rc.0";
14512
14518
  }
14513
14519
  /** {zh}
14514
14520
  * @brief 获取当前播放视频的清晰度唯一标识(definition)。