@besovideo/webrtc-player 0.9.88 → 0.9.89
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/dist/main.browser.js +6 -3
- package/dist/main.es.js +6 -3
- package/package.json +1 -1
package/dist/main.browser.js
CHANGED
|
@@ -117,7 +117,7 @@ var bvPlayerCore = (() => {
|
|
|
117
117
|
var define_processenv_default;
|
|
118
118
|
var init_define_processenv = __esm({
|
|
119
119
|
"<define:processenv>"() {
|
|
120
|
-
define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.9.
|
|
120
|
+
define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.9.89", PROJECT_NAMESPACE: "bvplayer" };
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
123
|
|
|
@@ -12496,6 +12496,9 @@ If you want to allow non-zero first timestamps, set firstTimestampBehavior: 'per
|
|
|
12496
12496
|
var setBvcspV1ApiPrefix = (prefix) => {
|
|
12497
12497
|
apiUrls.setApiPrefix("BVCSP_V1", prefix);
|
|
12498
12498
|
};
|
|
12499
|
+
var setBvnruV1ApiPrefix = (prefix) => {
|
|
12500
|
+
apiUrls.setApiPrefix("BVNRU_V1", prefix);
|
|
12501
|
+
};
|
|
12499
12502
|
|
|
12500
12503
|
// src/core/index.ts
|
|
12501
12504
|
init_define_processenv();
|
|
@@ -25418,9 +25421,9 @@ registerProcessor('bv-audio-processor', BVAudioProcessor);
|
|
|
25418
25421
|
player.setVideoFit(fit);
|
|
25419
25422
|
};
|
|
25420
25423
|
if (apiPrefix) {
|
|
25421
|
-
|
|
25424
|
+
setBvnruV1ApiPrefix(apiPrefix);
|
|
25422
25425
|
} else {
|
|
25423
|
-
|
|
25426
|
+
setBvnruV1ApiPrefix("");
|
|
25424
25427
|
}
|
|
25425
25428
|
barHandle.addEventListener("download", () => {
|
|
25426
25429
|
const filePath = playbackUrl ? playbackUrl : dialog_default.getPlaybackFilePath({ fileId: fileID, puid: puOption == null ? void 0 : puOption.puId }, token);
|
package/dist/main.es.js
CHANGED
|
@@ -111,7 +111,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
111
111
|
var define_processenv_default;
|
|
112
112
|
var init_define_processenv = __esm({
|
|
113
113
|
"<define:processenv>"() {
|
|
114
|
-
define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.9.
|
|
114
|
+
define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.9.89", PROJECT_NAMESPACE: "bvplayer" };
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
117
|
|
|
@@ -12480,6 +12480,9 @@ var apiUrls = {
|
|
|
12480
12480
|
var setBvcspV1ApiPrefix = (prefix) => {
|
|
12481
12481
|
apiUrls.setApiPrefix("BVCSP_V1", prefix);
|
|
12482
12482
|
};
|
|
12483
|
+
var setBvnruV1ApiPrefix = (prefix) => {
|
|
12484
|
+
apiUrls.setApiPrefix("BVNRU_V1", prefix);
|
|
12485
|
+
};
|
|
12483
12486
|
|
|
12484
12487
|
// src/core/index.ts
|
|
12485
12488
|
init_define_processenv();
|
|
@@ -25402,9 +25405,9 @@ var PlayBack = (props) => {
|
|
|
25402
25405
|
player.setVideoFit(fit);
|
|
25403
25406
|
};
|
|
25404
25407
|
if (apiPrefix) {
|
|
25405
|
-
|
|
25408
|
+
setBvnruV1ApiPrefix(apiPrefix);
|
|
25406
25409
|
} else {
|
|
25407
|
-
|
|
25410
|
+
setBvnruV1ApiPrefix("");
|
|
25408
25411
|
}
|
|
25409
25412
|
barHandle.addEventListener("download", () => {
|
|
25410
25413
|
const filePath = playbackUrl ? playbackUrl : dialog_default.getPlaybackFilePath({ fileId: fileID, puid: puOption == null ? void 0 : puOption.puId }, token);
|