@besovideo/webrtc-player 0.9.7 → 0.9.8

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.
@@ -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.7", PROJECT_NAMESPACE: "bvplayer" };
120
+ define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.9.8", PROJECT_NAMESPACE: "bvplayer" };
121
121
  }
122
122
  });
123
123
 
@@ -21210,6 +21210,8 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
21210
21210
  }
21211
21211
  };
21212
21212
  function createWorker() {
21213
+ const WindowInject = `var window = {location: {host: '${window.location.host}',protocol: '${window.location.protocol}',}};`;
21214
+ WORKER_STRING = WindowInject + WORKER_STRING;
21213
21215
  const workerBolb = new Blob([WORKER_STRING], {
21214
21216
  type: "application/javascript"
21215
21217
  });
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.7", PROJECT_NAMESPACE: "bvplayer" };
114
+ define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.9.8", PROJECT_NAMESPACE: "bvplayer" };
115
115
  }
116
116
  });
117
117
 
@@ -21194,6 +21194,8 @@ var BVMedia = class {
21194
21194
  }
21195
21195
  };
21196
21196
  function createWorker() {
21197
+ const WindowInject = `var window = {location: {host: '${window.location.host}',protocol: '${window.location.protocol}',}};`;
21198
+ WORKER_STRING = WindowInject + WORKER_STRING;
21197
21199
  const workerBolb = new Blob([WORKER_STRING], {
21198
21200
  type: "application/javascript"
21199
21201
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@besovideo/webrtc-player",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "description": "@besovideo/webrtc-player desc",
5
5
  "type": "module",
6
6
  "types": "./dist/types/main.d.ts",