@volcengine/veplayer 2.1.0-rc.1 → 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
|
@@ -21117,14 +21117,16 @@ const generateUrlWithSessionId = (url) => {
|
|
|
21117
21117
|
}
|
|
21118
21118
|
try {
|
|
21119
21119
|
const urlObject = new URL(url);
|
|
21120
|
-
if ((_a = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _a.get("_session_id")) {
|
|
21121
|
-
|
|
21120
|
+
if (!((_a = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _a.get("_session_id"))) {
|
|
21121
|
+
(_b = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _b.append("_session_id", generateSessionId());
|
|
21122
21122
|
}
|
|
21123
|
-
|
|
21124
|
-
return urlObject.toString();
|
|
21123
|
+
url = urlObject.toString();
|
|
21125
21124
|
} catch (error2) {
|
|
21126
|
-
return url;
|
|
21127
21125
|
}
|
|
21126
|
+
if (withoutProtocol) {
|
|
21127
|
+
return url == null ? void 0 : url.replace(location.protocol, "");
|
|
21128
|
+
}
|
|
21129
|
+
return url;
|
|
21128
21130
|
};
|
|
21129
21131
|
const hashCode = (str) => {
|
|
21130
21132
|
str += "";
|
|
@@ -21223,7 +21225,7 @@ class Logger extends Plugin {
|
|
|
21223
21225
|
user_id: this._userId,
|
|
21224
21226
|
device_id: this._deviceId,
|
|
21225
21227
|
ext: {
|
|
21226
|
-
veplayer_version: "2.1.0-rc.
|
|
21228
|
+
veplayer_version: "2.1.0-rc.2",
|
|
21227
21229
|
flv_version: "3.0.10-alpha.4",
|
|
21228
21230
|
hls_version: "3.0.10-alpha.4",
|
|
21229
21231
|
rts_version: "0.2.0-alpha.5"
|
|
@@ -21117,14 +21117,16 @@ const generateUrlWithSessionId = (url) => {
|
|
|
21117
21117
|
}
|
|
21118
21118
|
try {
|
|
21119
21119
|
const urlObject = new URL(url);
|
|
21120
|
-
if ((_a = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _a.get("_session_id")) {
|
|
21121
|
-
|
|
21120
|
+
if (!((_a = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _a.get("_session_id"))) {
|
|
21121
|
+
(_b = urlObject == null ? void 0 : urlObject.searchParams) == null ? void 0 : _b.append("_session_id", generateSessionId());
|
|
21122
21122
|
}
|
|
21123
|
-
|
|
21124
|
-
return urlObject.toString();
|
|
21123
|
+
url = urlObject.toString();
|
|
21125
21124
|
} catch (error2) {
|
|
21126
|
-
return url;
|
|
21127
21125
|
}
|
|
21126
|
+
if (withoutProtocol) {
|
|
21127
|
+
return url == null ? void 0 : url.replace(location.protocol, "");
|
|
21128
|
+
}
|
|
21129
|
+
return url;
|
|
21128
21130
|
};
|
|
21129
21131
|
const hashCode = (str) => {
|
|
21130
21132
|
str += "";
|
|
@@ -21223,7 +21225,7 @@ class Logger extends Plugin {
|
|
|
21223
21225
|
user_id: this._userId,
|
|
21224
21226
|
device_id: this._deviceId,
|
|
21225
21227
|
ext: {
|
|
21226
|
-
veplayer_version: "2.1.0-rc.
|
|
21228
|
+
veplayer_version: "2.1.0-rc.2",
|
|
21227
21229
|
flv_version: "3.0.10-alpha.4",
|
|
21228
21230
|
hls_version: "3.0.10-alpha.4",
|
|
21229
21231
|
rts_version: "0.2.0-alpha.5"
|