@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/veplayer",
3
- "version": "2.11.0-rc.1",
3
+ "version": "2.11.1",
4
4
  "main": "./umd/veplayer.production.js",
5
5
  "module": "./esm/veplayer.production.js",
6
6
  "browser": "./umd/veplayer.production.js",
@@ -26717,7 +26717,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
26717
26717
  device_id: deviceId,
26718
26718
  error_report_stop: true,
26719
26719
  ext: {
26720
- veplayer_version: "2.3.1-rc.3",
26720
+ veplayer_version: "2.3.0",
26721
26721
  flv_version: "3.0.23-rc.6",
26722
26722
  hls_version: "3.0.21-rc.21",
26723
26723
  rts_version: "0.2.1-alpha.57"
@@ -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", 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 @@ 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) {
@@ -51356,7 +51344,7 @@ Radeong 0.4 on AMD TAHITI (DRM 2.43.0, LLVM 3.9.0)|-1
51356
51344
  }
51357
51345
  await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
51358
51346
  ...options,
51359
- playerVersion: "2.3.1-rc.3",
51347
+ playerVersion: "2.3.0",
51360
51348
  type: "LIVE"
51361
51349
  }));
51362
51350
  return liveVeStrategy.veStrategyManager;