@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/esm/veplayer.biz.live.development.js +0 -12
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +0 -6
- package/esm/veplayer.development.js +3 -15
- package/esm/veplayer.live.d.ts +0 -6
- package/esm/veplayer.live.development.js +3 -15
- package/esm/veplayer.live.production.js +2 -2
- package/esm/veplayer.production.js +2 -2
- package/esm/veplayer.vod.development.js +1 -1
- package/esm/veplayer.vod.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.biz.live.development.js +0 -12
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +0 -6
- package/umd/veplayer.development.js +3 -15
- package/umd/veplayer.live.d.ts +0 -6
- package/umd/veplayer.live.development.js +3 -15
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.development.js +1 -1
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +0 -6
- package/veplayer.live.d.ts +0 -6
package/esm/veplayer.d.ts
CHANGED
|
@@ -6347,9 +6347,6 @@ declare class LicenseEventEmitter {
|
|
|
6347
6347
|
start(player: any): void;
|
|
6348
6348
|
}
|
|
6349
6349
|
declare class LiveLicenseManager {
|
|
6350
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6351
|
-
// @ts-ignore
|
|
6352
|
-
enableLiveLicenseCheck: boolean;
|
|
6353
6350
|
licenseSupportModuleList: LicenseFeature[];
|
|
6354
6351
|
licenseStatusResult?: LicenseStatus;
|
|
6355
6352
|
licenseCheckResult?: LicenseEdition;
|
|
@@ -11623,9 +11620,6 @@ declare namespace live {
|
|
|
11623
11620
|
start(player: any): void;
|
|
11624
11621
|
}
|
|
11625
11622
|
class LiveLicenseManager {
|
|
11626
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
11627
|
-
// @ts-ignore
|
|
11628
|
-
enableLiveLicenseCheck: boolean;
|
|
11629
11623
|
licenseSupportModuleList: LicenseFeature[];
|
|
11630
11624
|
licenseStatusResult?: LicenseStatus;
|
|
11631
11625
|
licenseCheckResult?: LicenseEdition;
|
|
@@ -14616,7 +14616,7 @@ class VePlayerBase {
|
|
|
14616
14616
|
* @brief Retrieve the player SDK version number.
|
|
14617
14617
|
*/
|
|
14618
14618
|
get playerVersion() {
|
|
14619
|
-
return "2.11.
|
|
14619
|
+
return "2.11.1-rc.0";
|
|
14620
14620
|
}
|
|
14621
14621
|
/** {zh}
|
|
14622
14622
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -56475,7 +56475,7 @@ let Logger$1 = class Logger2 extends Plugin {
|
|
|
56475
56475
|
device_id: deviceId,
|
|
56476
56476
|
error_report_stop: true,
|
|
56477
56477
|
ext: {
|
|
56478
|
-
veplayer_version: "2.11.
|
|
56478
|
+
veplayer_version: "2.11.1-rc.0",
|
|
56479
56479
|
flv_version: "3.0.23-rc.6",
|
|
56480
56480
|
hls_version: "3.0.21-rc.21",
|
|
56481
56481
|
rts_version: "0.2.1-alpha.57"
|
|
@@ -62081,17 +62081,11 @@ class LicenseEventEmitter {
|
|
|
62081
62081
|
}
|
|
62082
62082
|
class LiveLicenseManager {
|
|
62083
62083
|
constructor() {
|
|
62084
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
62085
|
-
// @ts-ignore
|
|
62086
|
-
__publicField(this, "enableLiveLicenseCheck", false);
|
|
62087
62084
|
__publicField(this, "licenseSupportModuleList", []);
|
|
62088
62085
|
__publicField(this, "licenseStatusResult");
|
|
62089
62086
|
__publicField(this, "licenseCheckResult");
|
|
62090
62087
|
}
|
|
62091
62088
|
async create() {
|
|
62092
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62093
|
-
return;
|
|
62094
|
-
}
|
|
62095
62089
|
const [license, featureList] = await Promise.all([
|
|
62096
62090
|
licenseManager.checkLicense(),
|
|
62097
62091
|
licenseManager.checkModuleList()
|
|
@@ -62105,9 +62099,6 @@ class LiveLicenseManager {
|
|
|
62105
62099
|
}
|
|
62106
62100
|
// 获取 License Fatal 报错信息,License 有问题或者 Domain 不匹配
|
|
62107
62101
|
getLicenseFatalError() {
|
|
62108
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62109
|
-
return;
|
|
62110
|
-
}
|
|
62111
62102
|
if (this.licenseStatusResult === LicenseStatus.LICENSE_STATUS_INVALID) {
|
|
62112
62103
|
console.warn(`current license is invalid, please check license`);
|
|
62113
62104
|
return ErrorCode.LICENSE_STATUS_INVALID;
|
|
@@ -62120,9 +62111,6 @@ class LiveLicenseManager {
|
|
|
62120
62111
|
// 验证 License 是否支持该 feature
|
|
62121
62112
|
checkLiveLicenseFeature(feature) {
|
|
62122
62113
|
var _a, _b;
|
|
62123
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62124
|
-
return;
|
|
62125
|
-
}
|
|
62126
62114
|
const result = licenseManager.licenseSupportModuleList.includes(feature);
|
|
62127
62115
|
if (!result) {
|
|
62128
62116
|
if (this.licenseCheckResult === LicenseEdition.EDITION_STANDARD) {
|
|
@@ -74159,7 +74147,7 @@ async function prepare(options) {
|
|
|
74159
74147
|
}
|
|
74160
74148
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
74161
74149
|
...options,
|
|
74162
|
-
playerVersion: "2.11.
|
|
74150
|
+
playerVersion: "2.11.1-rc.0",
|
|
74163
74151
|
type: "LIVE"
|
|
74164
74152
|
}));
|
|
74165
74153
|
return liveVeStrategy.veStrategyManager;
|
package/esm/veplayer.live.d.ts
CHANGED
|
@@ -6347,9 +6347,6 @@ declare class LicenseEventEmitter {
|
|
|
6347
6347
|
start(player: any): void;
|
|
6348
6348
|
}
|
|
6349
6349
|
declare class LiveLicenseManager {
|
|
6350
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6351
|
-
// @ts-ignore
|
|
6352
|
-
enableLiveLicenseCheck: boolean;
|
|
6353
6350
|
licenseSupportModuleList: LicenseFeature[];
|
|
6354
6351
|
licenseStatusResult?: LicenseStatus;
|
|
6355
6352
|
licenseCheckResult?: LicenseEdition;
|
|
@@ -11623,9 +11620,6 @@ declare namespace live {
|
|
|
11623
11620
|
start(player: any): void;
|
|
11624
11621
|
}
|
|
11625
11622
|
class LiveLicenseManager {
|
|
11626
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
11627
|
-
// @ts-ignore
|
|
11628
|
-
enableLiveLicenseCheck: boolean;
|
|
11629
11623
|
licenseSupportModuleList: LicenseFeature[];
|
|
11630
11624
|
licenseStatusResult?: LicenseStatus;
|
|
11631
11625
|
licenseCheckResult?: LicenseEdition;
|
|
@@ -14616,7 +14616,7 @@ class VePlayerBase {
|
|
|
14616
14616
|
* @brief Retrieve the player SDK version number.
|
|
14617
14617
|
*/
|
|
14618
14618
|
get playerVersion() {
|
|
14619
|
-
return "2.11.
|
|
14619
|
+
return "2.11.1-rc.0";
|
|
14620
14620
|
}
|
|
14621
14621
|
/** {zh}
|
|
14622
14622
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -56475,7 +56475,7 @@ let Logger$1 = class Logger2 extends Plugin {
|
|
|
56475
56475
|
device_id: deviceId,
|
|
56476
56476
|
error_report_stop: true,
|
|
56477
56477
|
ext: {
|
|
56478
|
-
veplayer_version: "2.11.
|
|
56478
|
+
veplayer_version: "2.11.1-rc.0",
|
|
56479
56479
|
flv_version: "3.0.23-rc.6",
|
|
56480
56480
|
hls_version: "3.0.21-rc.21",
|
|
56481
56481
|
rts_version: "0.2.1-alpha.57"
|
|
@@ -62087,17 +62087,11 @@ class LicenseEventEmitter {
|
|
|
62087
62087
|
}
|
|
62088
62088
|
class LiveLicenseManager {
|
|
62089
62089
|
constructor() {
|
|
62090
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
62091
|
-
// @ts-ignore
|
|
62092
|
-
__publicField(this, "enableLiveLicenseCheck", false);
|
|
62093
62090
|
__publicField(this, "licenseSupportModuleList", []);
|
|
62094
62091
|
__publicField(this, "licenseStatusResult");
|
|
62095
62092
|
__publicField(this, "licenseCheckResult");
|
|
62096
62093
|
}
|
|
62097
62094
|
async create() {
|
|
62098
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62099
|
-
return;
|
|
62100
|
-
}
|
|
62101
62095
|
const [license, featureList] = await Promise.all([
|
|
62102
62096
|
licenseManager.checkLicense(),
|
|
62103
62097
|
licenseManager.checkModuleList()
|
|
@@ -62111,9 +62105,6 @@ class LiveLicenseManager {
|
|
|
62111
62105
|
}
|
|
62112
62106
|
// 获取 License Fatal 报错信息,License 有问题或者 Domain 不匹配
|
|
62113
62107
|
getLicenseFatalError() {
|
|
62114
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62115
|
-
return;
|
|
62116
|
-
}
|
|
62117
62108
|
if (this.licenseStatusResult === LicenseStatus.LICENSE_STATUS_INVALID) {
|
|
62118
62109
|
console.warn(`current license is invalid, please check license`);
|
|
62119
62110
|
return ErrorCode.LICENSE_STATUS_INVALID;
|
|
@@ -62126,9 +62117,6 @@ class LiveLicenseManager {
|
|
|
62126
62117
|
// 验证 License 是否支持该 feature
|
|
62127
62118
|
checkLiveLicenseFeature(feature) {
|
|
62128
62119
|
var _a, _b;
|
|
62129
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62130
|
-
return;
|
|
62131
|
-
}
|
|
62132
62120
|
const result = licenseManager.licenseSupportModuleList.includes(feature);
|
|
62133
62121
|
if (!result) {
|
|
62134
62122
|
if (this.licenseCheckResult === LicenseEdition.EDITION_STANDARD) {
|
|
@@ -74165,7 +74153,7 @@ async function prepare(options) {
|
|
|
74165
74153
|
}
|
|
74166
74154
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
74167
74155
|
...options,
|
|
74168
|
-
playerVersion: "2.11.
|
|
74156
|
+
playerVersion: "2.11.1-rc.0",
|
|
74169
74157
|
type: "LIVE"
|
|
74170
74158
|
}));
|
|
74171
74159
|
return liveVeStrategy.veStrategyManager;
|