@volcengine/veplayer 2.4.2-rc.6 → 2.4.2-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/esm/veplayer.d.ts CHANGED
@@ -5585,6 +5585,7 @@ interface Rtm {
5585
5585
  */
5586
5586
  seamlesslyReload?: boolean;
5587
5587
  enableSei?: boolean;
5588
+ enableOriginSdpLogger?: boolean;
5588
5589
  }
5589
5590
  /** {zh}
5590
5591
  * @list option
@@ -10401,6 +10402,7 @@ declare namespace live {
10401
10402
  */
10402
10403
  seamlesslyReload?: boolean;
10403
10404
  enableSei?: boolean;
10405
+ enableOriginSdpLogger?: boolean;
10404
10406
  }
10405
10407
  /** {zh}
10406
10408
  * @list option
@@ -13742,7 +13742,7 @@ class VePlayerBase {
13742
13742
  * @returns
13743
13743
  */
13744
13744
  get playerVersion() {
13745
- return "2.4.2-rc.6";
13745
+ return "2.4.2-rc.7";
13746
13746
  }
13747
13747
  /** {zh}
13748
13748
  * @brief 获取当前播放视频的清晰度唯一标识(definition)。
@@ -27785,11 +27785,13 @@ class Logger extends Plugin {
27785
27785
  }
27786
27786
  }
27787
27787
  _createTea() {
27788
- SDK.init({
27789
- ...this.config,
27790
- app_id: 468759,
27791
- channel: "cn"
27792
- });
27788
+ if (!SDK.inited) {
27789
+ SDK.init({
27790
+ ...this.config,
27791
+ app_id: 468759,
27792
+ channel: "cn"
27793
+ });
27794
+ }
27793
27795
  SDK.start();
27794
27796
  SDK.config({
27795
27797
  user_unique_id: this._userId,
@@ -27807,10 +27809,10 @@ class Logger extends Plugin {
27807
27809
  user_id: this._userId,
27808
27810
  device_id: this._deviceId,
27809
27811
  ext: {
27810
- veplayer_version: "2.4.2-rc.6",
27812
+ veplayer_version: "2.4.2-rc.7",
27811
27813
  flv_version: "3.0.19-rc.0",
27812
27814
  hls_version: "3.0.19-rc.0",
27813
- rts_version: "0.2.1-alpha.8"
27815
+ rts_version: "0.2.1-alpha.13"
27814
27816
  }
27815
27817
  });
27816
27818
  }
@@ -5585,6 +5585,7 @@ interface Rtm {
5585
5585
  */
5586
5586
  seamlesslyReload?: boolean;
5587
5587
  enableSei?: boolean;
5588
+ enableOriginSdpLogger?: boolean;
5588
5589
  }
5589
5590
  /** {zh}
5590
5591
  * @list option
@@ -10401,6 +10402,7 @@ declare namespace live {
10401
10402
  */
10402
10403
  seamlesslyReload?: boolean;
10403
10404
  enableSei?: boolean;
10405
+ enableOriginSdpLogger?: boolean;
10404
10406
  }
10405
10407
  /** {zh}
10406
10408
  * @list option
@@ -13742,7 +13742,7 @@ class VePlayerBase {
13742
13742
  * @returns
13743
13743
  */
13744
13744
  get playerVersion() {
13745
- return "2.4.2-rc.6";
13745
+ return "2.4.2-rc.7";
13746
13746
  }
13747
13747
  /** {zh}
13748
13748
  * @brief 获取当前播放视频的清晰度唯一标识(definition)。
@@ -27785,11 +27785,13 @@ class Logger extends Plugin {
27785
27785
  }
27786
27786
  }
27787
27787
  _createTea() {
27788
- SDK.init({
27789
- ...this.config,
27790
- app_id: 468759,
27791
- channel: "cn"
27792
- });
27788
+ if (!SDK.inited) {
27789
+ SDK.init({
27790
+ ...this.config,
27791
+ app_id: 468759,
27792
+ channel: "cn"
27793
+ });
27794
+ }
27793
27795
  SDK.start();
27794
27796
  SDK.config({
27795
27797
  user_unique_id: this._userId,
@@ -27807,10 +27809,10 @@ class Logger extends Plugin {
27807
27809
  user_id: this._userId,
27808
27810
  device_id: this._deviceId,
27809
27811
  ext: {
27810
- veplayer_version: "2.4.2-rc.6",
27812
+ veplayer_version: "2.4.2-rc.7",
27811
27813
  flv_version: "3.0.19-rc.0",
27812
27814
  hls_version: "3.0.19-rc.0",
27813
- rts_version: "0.2.1-alpha.8"
27815
+ rts_version: "0.2.1-alpha.13"
27814
27816
  }
27815
27817
  });
27816
27818
  }