@volcengine/veplayer 2.12.1 → 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;
@@ -10798,6 +10798,8 @@ var __publicField = (obj, key, value) => {
10798
10798
  const BaseEvents = {
10799
10799
  // sei
10800
10800
  SEI: "sei",
10801
+ // sei,在播放时间对齐到该 sei 的时间戳时抛出
10802
+ SEI_IN_TIME: "seiInTime",
10801
10803
  // 播放器完成创建
10802
10804
  PLAYER_CREATE_FINISH: "playerCreateFinish",
10803
10805
  FALLBACK_ERROR: "fallbackError",
@@ -10858,6 +10860,10 @@ var __publicField = (obj, key, value) => {
10858
10860
  event: "core_event",
10859
10861
  shouldCallback: (data) => (data == null ? void 0 : data.eventName) === "core.sei"
10860
10862
  },
10863
+ [BaseEvents.SEI_IN_TIME]: {
10864
+ event: "core_event",
10865
+ shouldCallback: (data) => (data == null ? void 0 : data.eventName) === "core.seiintime"
10866
+ },
10861
10867
  [BaseEvents.RTM_NETWORK]: {
10862
10868
  event: "core_event",
10863
10869
  shouldCallback: (data) => (data == null ? void 0 : data.eventName) === "core.rtcnetwork"
@@ -14512,7 +14518,7 @@ var __publicField = (obj, key, value) => {
14512
14518
  * @brief Retrieve the player SDK version number.
14513
14519
  */
14514
14520
  get playerVersion() {
14515
- return "2.12.1";
14521
+ return "2.12.2-rc.0";
14516
14522
  }
14517
14523
  /** {zh}
14518
14524
  * @brief 获取当前播放视频的清晰度唯一标识(definition)。