@volcengine/veplayer 2.1.0-rc.0 → 2.1.0-rc.2
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 +7 -5
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.development.js +8 -6
- package/esm/veplayer.live.development.js +8 -6
- package/esm/veplayer.live.production.js +2 -2
- package/esm/veplayer.production.js +2 -2
- package/esm/veplayer.vod.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.biz.live.development.js +7 -5
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.development.js +8 -6
- package/umd/veplayer.live.development.js +8 -6
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.production.js +1 -1
|
@@ -21121,14 +21121,16 @@ var __publicField = (obj, key, value) => {
|
|
|
21121
21121
|
}
|
|
21122
21122
|
try {
|
|
21123
21123
|
const urlObject = new URL(url);
|
|
21124
|
-
if ((_a = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _a.get("_session_id")) {
|
|
21125
|
-
|
|
21124
|
+
if (!((_a = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _a.get("_session_id"))) {
|
|
21125
|
+
(_b = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _b.append("_session_id", generateSessionId());
|
|
21126
21126
|
}
|
|
21127
|
-
|
|
21128
|
-
return urlObject.toString();
|
|
21127
|
+
url = urlObject.toString();
|
|
21129
21128
|
} catch (error2) {
|
|
21130
|
-
return url;
|
|
21131
21129
|
}
|
|
21130
|
+
if (withoutProtocol) {
|
|
21131
|
+
return url == null ? void 0 : url.replace(location.protocol, "");
|
|
21132
|
+
}
|
|
21133
|
+
return url;
|
|
21132
21134
|
};
|
|
21133
21135
|
const hashCode = (str) => {
|
|
21134
21136
|
str += "";
|
|
@@ -21227,7 +21229,7 @@ var __publicField = (obj, key, value) => {
|
|
|
21227
21229
|
user_id: this._userId,
|
|
21228
21230
|
device_id: this._deviceId,
|
|
21229
21231
|
ext: {
|
|
21230
|
-
veplayer_version: "2.1.0-rc.
|
|
21232
|
+
veplayer_version: "2.1.0-rc.2",
|
|
21231
21233
|
flv_version: "3.0.10-alpha.4",
|
|
21232
21234
|
hls_version: "3.0.10-alpha.4",
|
|
21233
21235
|
rts_version: "0.2.0-alpha.5"
|
|
@@ -21121,14 +21121,16 @@ var __publicField = (obj, key, value) => {
|
|
|
21121
21121
|
}
|
|
21122
21122
|
try {
|
|
21123
21123
|
const urlObject = new URL(url);
|
|
21124
|
-
if ((_a = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _a.get("_session_id")) {
|
|
21125
|
-
|
|
21124
|
+
if (!((_a = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _a.get("_session_id"))) {
|
|
21125
|
+
(_b = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _b.append("_session_id", generateSessionId());
|
|
21126
21126
|
}
|
|
21127
|
-
|
|
21128
|
-
return urlObject.toString();
|
|
21127
|
+
url = urlObject.toString();
|
|
21129
21128
|
} catch (error2) {
|
|
21130
|
-
return url;
|
|
21131
21129
|
}
|
|
21130
|
+
if (withoutProtocol) {
|
|
21131
|
+
return url == null ? void 0 : url.replace(location.protocol, "");
|
|
21132
|
+
}
|
|
21133
|
+
return url;
|
|
21132
21134
|
};
|
|
21133
21135
|
const hashCode = (str) => {
|
|
21134
21136
|
str += "";
|
|
@@ -21227,7 +21229,7 @@ var __publicField = (obj, key, value) => {
|
|
|
21227
21229
|
user_id: this._userId,
|
|
21228
21230
|
device_id: this._deviceId,
|
|
21229
21231
|
ext: {
|
|
21230
|
-
veplayer_version: "2.1.0-rc.
|
|
21232
|
+
veplayer_version: "2.1.0-rc.2",
|
|
21231
21233
|
flv_version: "3.0.10-alpha.4",
|
|
21232
21234
|
hls_version: "3.0.10-alpha.4",
|
|
21233
21235
|
rts_version: "0.2.0-alpha.5"
|