@volcengine/veplayer 2.11.0 → 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/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/umd/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;
|
|
@@ -14620,7 +14620,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14620
14620
|
* @brief Retrieve the player SDK version number.
|
|
14621
14621
|
*/
|
|
14622
14622
|
get playerVersion() {
|
|
14623
|
-
return "2.11.
|
|
14623
|
+
return "2.11.1";
|
|
14624
14624
|
}
|
|
14625
14625
|
/** {zh}
|
|
14626
14626
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -56479,7 +56479,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
56479
56479
|
device_id: deviceId,
|
|
56480
56480
|
error_report_stop: true,
|
|
56481
56481
|
ext: {
|
|
56482
|
-
veplayer_version: "2.11.
|
|
56482
|
+
veplayer_version: "2.11.1",
|
|
56483
56483
|
flv_version: "3.0.23-rc.6",
|
|
56484
56484
|
hls_version: "3.0.21-rc.21",
|
|
56485
56485
|
rts_version: "0.2.1-alpha.57"
|
|
@@ -62085,17 +62085,11 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
62085
62085
|
}
|
|
62086
62086
|
class LiveLicenseManager {
|
|
62087
62087
|
constructor() {
|
|
62088
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
62089
|
-
// @ts-ignore
|
|
62090
|
-
__publicField(this, "enableLiveLicenseCheck", false);
|
|
62091
62088
|
__publicField(this, "licenseSupportModuleList", []);
|
|
62092
62089
|
__publicField(this, "licenseStatusResult");
|
|
62093
62090
|
__publicField(this, "licenseCheckResult");
|
|
62094
62091
|
}
|
|
62095
62092
|
async create() {
|
|
62096
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62097
|
-
return;
|
|
62098
|
-
}
|
|
62099
62093
|
const [license, featureList] = await Promise.all([
|
|
62100
62094
|
licenseManager.checkLicense(),
|
|
62101
62095
|
licenseManager.checkModuleList()
|
|
@@ -62109,9 +62103,6 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
62109
62103
|
}
|
|
62110
62104
|
// 获取 License Fatal 报错信息,License 有问题或者 Domain 不匹配
|
|
62111
62105
|
getLicenseFatalError() {
|
|
62112
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62113
|
-
return;
|
|
62114
|
-
}
|
|
62115
62106
|
if (this.licenseStatusResult === LicenseStatus.LICENSE_STATUS_INVALID) {
|
|
62116
62107
|
console.warn(`current license is invalid, please check license`);
|
|
62117
62108
|
return ErrorCode.LICENSE_STATUS_INVALID;
|
|
@@ -62124,9 +62115,6 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
62124
62115
|
// 验证 License 是否支持该 feature
|
|
62125
62116
|
checkLiveLicenseFeature(feature) {
|
|
62126
62117
|
var _a, _b;
|
|
62127
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62128
|
-
return;
|
|
62129
|
-
}
|
|
62130
62118
|
const result = licenseManager.licenseSupportModuleList.includes(feature);
|
|
62131
62119
|
if (!result) {
|
|
62132
62120
|
if (this.licenseCheckResult === LicenseEdition.EDITION_STANDARD) {
|
|
@@ -74163,7 +74151,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
74163
74151
|
}
|
|
74164
74152
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
74165
74153
|
...options,
|
|
74166
|
-
playerVersion: "2.11.
|
|
74154
|
+
playerVersion: "2.11.1",
|
|
74167
74155
|
type: "LIVE"
|
|
74168
74156
|
}));
|
|
74169
74157
|
return liveVeStrategy.veStrategyManager;
|
package/umd/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;
|
|
@@ -14620,7 +14620,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14620
14620
|
* @brief Retrieve the player SDK version number.
|
|
14621
14621
|
*/
|
|
14622
14622
|
get playerVersion() {
|
|
14623
|
-
return "2.11.
|
|
14623
|
+
return "2.11.1";
|
|
14624
14624
|
}
|
|
14625
14625
|
/** {zh}
|
|
14626
14626
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -56479,7 +56479,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
56479
56479
|
device_id: deviceId,
|
|
56480
56480
|
error_report_stop: true,
|
|
56481
56481
|
ext: {
|
|
56482
|
-
veplayer_version: "2.11.
|
|
56482
|
+
veplayer_version: "2.11.1",
|
|
56483
56483
|
flv_version: "3.0.23-rc.6",
|
|
56484
56484
|
hls_version: "3.0.21-rc.21",
|
|
56485
56485
|
rts_version: "0.2.1-alpha.57"
|
|
@@ -62085,17 +62085,11 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
62085
62085
|
}
|
|
62086
62086
|
class LiveLicenseManager {
|
|
62087
62087
|
constructor() {
|
|
62088
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
62089
|
-
// @ts-ignore
|
|
62090
|
-
__publicField(this, "enableLiveLicenseCheck", false);
|
|
62091
62088
|
__publicField(this, "licenseSupportModuleList", []);
|
|
62092
62089
|
__publicField(this, "licenseStatusResult");
|
|
62093
62090
|
__publicField(this, "licenseCheckResult");
|
|
62094
62091
|
}
|
|
62095
62092
|
async create() {
|
|
62096
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62097
|
-
return;
|
|
62098
|
-
}
|
|
62099
62093
|
const [license, featureList] = await Promise.all([
|
|
62100
62094
|
licenseManager.checkLicense(),
|
|
62101
62095
|
licenseManager.checkModuleList()
|
|
@@ -62109,9 +62103,6 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
62109
62103
|
}
|
|
62110
62104
|
// 获取 License Fatal 报错信息,License 有问题或者 Domain 不匹配
|
|
62111
62105
|
getLicenseFatalError() {
|
|
62112
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62113
|
-
return;
|
|
62114
|
-
}
|
|
62115
62106
|
if (this.licenseStatusResult === LicenseStatus.LICENSE_STATUS_INVALID) {
|
|
62116
62107
|
console.warn(`current license is invalid, please check license`);
|
|
62117
62108
|
return ErrorCode.LICENSE_STATUS_INVALID;
|
|
@@ -62124,9 +62115,6 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
62124
62115
|
// 验证 License 是否支持该 feature
|
|
62125
62116
|
checkLiveLicenseFeature(feature) {
|
|
62126
62117
|
var _a, _b;
|
|
62127
|
-
if (!this.enableLiveLicenseCheck) {
|
|
62128
|
-
return;
|
|
62129
|
-
}
|
|
62130
62118
|
const result = licenseManager.licenseSupportModuleList.includes(feature);
|
|
62131
62119
|
if (!result) {
|
|
62132
62120
|
if (this.licenseCheckResult === LicenseEdition.EDITION_STANDARD) {
|
|
@@ -74170,7 +74158,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
74170
74158
|
}
|
|
74171
74159
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
74172
74160
|
...options,
|
|
74173
|
-
playerVersion: "2.11.
|
|
74161
|
+
playerVersion: "2.11.1",
|
|
74174
74162
|
type: "LIVE"
|
|
74175
74163
|
}));
|
|
74176
74164
|
return liveVeStrategy.veStrategyManager;
|