@volcengine/veplayer 2.11.0-rc.1 → 2.11.1-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/veplayer",
3
- "version": "2.11.0-rc.1",
3
+ "version": "2.11.1-rc.0",
4
4
  "main": "./umd/veplayer.production.js",
5
5
  "module": "./esm/veplayer.production.js",
6
6
  "browser": "./umd/veplayer.production.js",
@@ -34446,17 +34446,11 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
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", false);
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 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
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 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
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) {