@besovideo/webrtc-player 0.8.72 → 0.8.73

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.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.8.72", PROJECT_NAMESPACE: "bvplayer" };
114
+ define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.8.73", PROJECT_NAMESPACE: "bvplayer" };
115
115
  }
116
116
  });
117
117
 
@@ -16808,6 +16808,9 @@ var MarkerHandle = class extends Plugin {
16808
16808
  return this.playArea;
16809
16809
  }
16810
16810
  init(_container, layoutInfo) {
16811
+ if (this.createParams.puid) {
16812
+ return _container;
16813
+ }
16811
16814
  if (layoutInfo) {
16812
16815
  this.layoutInfo = layoutInfo;
16813
16816
  }
@@ -17056,6 +17059,7 @@ var PlayBack = (props) => {
17056
17059
  const markerHandle = new MarkerHandle({
17057
17060
  token,
17058
17061
  fileId: fileID,
17062
+ puid: puOption == null ? void 0 : puOption.puId,
17059
17063
  currentTimeGatter() {
17060
17064
  return barHandle.playbackInfo.current;
17061
17065
  }
@@ -21,7 +21,7 @@ interface IPlaybackProps extends Props {
21
21
  };
22
22
  container?: Container;
23
23
  locale?: Parameters<typeof initI18n>["0"];
24
- type: IPlaybackPlayType;
24
+ type?: IPlaybackPlayType;
25
25
  zIndexMenu?: number;
26
26
  }
27
27
  type IPlaybackPlayType = "ws-bvrtc" | "web";
@@ -13,6 +13,7 @@ interface ICreateParams {
13
13
  fileId: string;
14
14
  token: string;
15
15
  currentTimeGatter(): number;
16
+ puid?: string;
16
17
  }
17
18
  declare class MarkerHandle extends Plugin<HTMLDivElement, MarkerHandleEventMap> {
18
19
  protected beforeDestroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@besovideo/webrtc-player",
3
- "version": "0.8.72",
3
+ "version": "0.8.73",
4
4
  "description": "@besovideo/webrtc-player desc",
5
5
  "type": "module",
6
6
  "types": "./dist/types/main.d.ts",