@byteplus/veplayer 2.11.0-rc.1 → 2.11.1

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.
@@ -26713,7 +26713,7 @@ let Logger$1 = class Logger2 extends Plugin$2 {
26713
26713
  device_id: deviceId,
26714
26714
  error_report_stop: true,
26715
26715
  ext: {
26716
- veplayer_version: "2.3.1-rc.3",
26716
+ veplayer_version: "2.3.0",
26717
26717
  flv_version: "3.0.23-rc.6",
26718
26718
  hls_version: "3.0.21-rc.21",
26719
26719
  rts_version: "0.2.1-alpha.57"
@@ -34446,17 +34446,11 @@ class LicenseEventEmitter {
34446
34446
  }
34447
34447
  class LiveLicenseManager {
34448
34448
  constructor() {
34449
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
34450
- // @ts-ignore
34451
- __publicField(this, "enableLiveLicenseCheck", true);
34452
34449
  __publicField(this, "licenseSupportModuleList", []);
34453
34450
  __publicField(this, "licenseStatusResult");
34454
34451
  __publicField(this, "licenseCheckResult");
34455
34452
  }
34456
34453
  async create() {
34457
- if (!this.enableLiveLicenseCheck) {
34458
- return;
34459
- }
34460
34454
  const [license, featureList] = await Promise.all([
34461
34455
  licenseManager$1.checkLicense(),
34462
34456
  licenseManager$1.checkModuleList()
@@ -34470,9 +34464,6 @@ class LiveLicenseManager {
34470
34464
  }
34471
34465
  // 获取 License Fatal 报错信息,License 有问题或者 Domain 不匹配
34472
34466
  getLicenseFatalError() {
34473
- if (!this.enableLiveLicenseCheck) {
34474
- return;
34475
- }
34476
34467
  if (this.licenseStatusResult === LicenseStatus.LICENSE_STATUS_INVALID) {
34477
34468
  console.warn(`current license is invalid, please check license`);
34478
34469
  return ErrorCode$1.LICENSE_STATUS_INVALID;
@@ -34485,9 +34476,6 @@ class LiveLicenseManager {
34485
34476
  // 验证 License 是否支持该 feature
34486
34477
  checkLiveLicenseFeature(feature) {
34487
34478
  var _a, _b;
34488
- if (!this.enableLiveLicenseCheck) {
34489
- return;
34490
- }
34491
34479
  const result = licenseManager$1.licenseSupportModuleList.includes(feature);
34492
34480
  if (!result) {
34493
34481
  if (this.licenseCheckResult === LicenseEdition.EDITION_STANDARD) {
@@ -51349,7 +51337,7 @@ async function prepare(options) {
51349
51337
  }
51350
51338
  await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
51351
51339
  ...options,
51352
- playerVersion: "2.3.1-rc.3",
51340
+ playerVersion: "2.3.0",
51353
51341
  type: "LIVE"
51354
51342
  }));
51355
51343
  return liveVeStrategy.veStrategyManager;