@besovideo/webrtc-player 0.8.52 → 0.8.53

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.
@@ -105,7 +105,7 @@ var bvPlayerCore = (() => {
105
105
  var define_processenv_default;
106
106
  var init_define_processenv = __esm({
107
107
  "<define:processenv>"() {
108
- define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.8.49", PROJECT_NAMESPACE: "bvplayer" };
108
+ define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.8.53", PROJECT_NAMESPACE: "bvplayer" };
109
109
  }
110
110
  });
111
111
 
@@ -11168,6 +11168,7 @@ If you want to allow non-zero first timestamps, set firstTimestampBehavior: 'per
11168
11168
  }
11169
11169
 
11170
11170
  // src/templates/icons.tsx
11171
+ init_jsx();
11171
11172
  var Icon = ({ children, className, style: style2 }) => {
11172
11173
  const clsName = core_default.style.cls(["icon", className]);
11173
11174
  return /* @__PURE__ */ jsx.h("span", { className: clsName, style: style2, withNamespace: true }, children);
@@ -11479,7 +11480,8 @@ If you want to allow non-zero first timestamps, set firstTimestampBehavior: 'per
11479
11480
  // src/components/subComponent/mikeButton.tsx
11480
11481
  init_define_processenv();
11481
11482
  init_jsx_shim();
11482
- var _onIcon, _offIcon, _talk, _intercom, _onTalkStart, onTalkStart_fn, _onTalkEnd, onTalkEnd_fn;
11483
+ init_jsx();
11484
+ var _onIcon, _offIcon, _isBusy, _talk, _intercom, _type, _onTalkStart, onTalkStart_fn, _onTalkEnd, onTalkEnd_fn;
11483
11485
  var MikeButton = class extends HTMLElement {
11484
11486
  constructor() {
11485
11487
  super();
@@ -11488,13 +11490,18 @@ If you want to allow non-zero first timestamps, set firstTimestampBehavior: 'per
11488
11490
  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields weakmep实现的私有变量
11489
11491
  __privateAdd(this, _onIcon, core_default.dom.createByJsx(/* @__PURE__ */ jsx.h(icons_default.MikeOn, null)));
11490
11492
  __privateAdd(this, _offIcon, core_default.dom.createByJsx(/* @__PURE__ */ jsx.h(icons_default.MikeOff, null)));
11493
+ __privateAdd(this, _isBusy, false);
11491
11494
  //是否正在喊话
11492
11495
  __privateAdd(this, _talk, false);
11493
11496
  // 麦克风实例
11494
11497
  __privateAdd(this, _intercom, void 0);
11498
+ // 协议类型
11499
+ __privateAdd(this, _type, void 0);
11495
11500
  this.attachShadow({ mode: "open" });
11496
11501
  this.addEventListener("click", () => {
11497
- this.talking = !this.talking;
11502
+ if (!__privateGet(this, _isBusy)) {
11503
+ this.talking = !this.talking;
11504
+ }
11498
11505
  });
11499
11506
  this.talking = false;
11500
11507
  }
@@ -11504,16 +11511,22 @@ If you want to allow non-zero first timestamps, set firstTimestampBehavior: 'per
11504
11511
  set talking(state) {
11505
11512
  if (__privateGet(this, _talk) === state)
11506
11513
  return;
11507
- __privateSet(this, _talk, state);
11508
- if (state) {
11509
- __privateMethod(this, _onTalkStart, onTalkStart_fn).call(this);
11510
- } else {
11511
- __privateMethod(this, _onTalkEnd, onTalkEnd_fn).call(this);
11514
+ if (!__privateGet(this, _isBusy)) {
11515
+ __privateSet(this, _isBusy, true);
11516
+ __privateSet(this, _talk, state);
11517
+ let pm;
11518
+ pm = state ? __privateMethod(this, _onTalkStart, onTalkStart_fn).call(this) : __privateMethod(this, _onTalkEnd, onTalkEnd_fn).call(this);
11519
+ pm.finally(() => {
11520
+ __privateSet(this, _isBusy, false);
11521
+ });
11512
11522
  }
11513
11523
  }
11514
11524
  set intercom(ins) {
11515
11525
  __privateSet(this, _intercom, ins);
11516
11526
  }
11527
+ set type(type) {
11528
+ __privateSet(this, _type, type);
11529
+ }
11517
11530
  connectedCallback() {
11518
11531
  this.render();
11519
11532
  }
@@ -11525,21 +11538,27 @@ If you want to allow non-zero first timestamps, set firstTimestampBehavior: 'per
11525
11538
  };
11526
11539
  _onIcon = new WeakMap();
11527
11540
  _offIcon = new WeakMap();
11541
+ _isBusy = new WeakMap();
11528
11542
  _talk = new WeakMap();
11529
11543
  _intercom = new WeakMap();
11544
+ _type = new WeakMap();
11530
11545
  _onTalkStart = new WeakSet();
11531
11546
  onTalkStart_fn = function() {
11532
- var _a;
11533
- if (!__privateGet(this, _intercom))
11534
- return;
11535
- (_a = __privateGet(this, _intercom)) == null ? void 0 : _a.open();
11536
- __privateGet(this, _offIcon).replaceWith(__privateGet(this, _onIcon));
11547
+ return __async(this, null, function* () {
11548
+ var _a;
11549
+ if (!__privateGet(this, _intercom))
11550
+ return;
11551
+ yield (_a = __privateGet(this, _intercom)) == null ? void 0 : _a.open(void 0, __privateGet(this, _type));
11552
+ __privateGet(this, _offIcon).replaceWith(__privateGet(this, _onIcon));
11553
+ });
11537
11554
  };
11538
11555
  _onTalkEnd = new WeakSet();
11539
11556
  onTalkEnd_fn = function() {
11540
- var _a;
11541
- (_a = __privateGet(this, _intercom)) == null ? void 0 : _a.close();
11542
- __privateGet(this, _onIcon).replaceWith(__privateGet(this, _offIcon));
11557
+ return __async(this, null, function* () {
11558
+ var _a;
11559
+ yield (_a = __privateGet(this, _intercom)) == null ? void 0 : _a.close();
11560
+ __privateGet(this, _onIcon).replaceWith(__privateGet(this, _offIcon));
11561
+ });
11543
11562
  };
11544
11563
  customElements.define("mike-button", MikeButton);
11545
11564
 
@@ -17689,8 +17708,10 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
17689
17708
  enableController: false
17690
17709
  });
17691
17710
  const instance2 = __spreadProps(__spreadValues({}, bvWebrtcComponentInstance), {
17692
- open: (..._0) => __async(void 0, [..._0], function* (protocol = type) {
17711
+ open: (..._0) => __async(void 0, [..._0], function* (protocol = type, mikeButtonType) {
17693
17712
  var _a, _b, _c;
17713
+ if (mikeButtonType)
17714
+ protocol = mikeButtonType;
17694
17715
  const player = bvWebrtcComponentInstance.__dangerGetPlayer();
17695
17716
  let hplayer = null;
17696
17717
  try {
@@ -17776,15 +17797,17 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
17776
17797
  }
17777
17798
  };
17778
17799
  player.spinner.spin = false;
17779
- player.addEventListener("close", () => __async(void 0, null, function* () {
17800
+ const closeHandle = () => __async(void 0, null, function* () {
17780
17801
  if (!hplayer)
17781
17802
  return;
17803
+ player.removeEventListener("close", closeHandle);
17782
17804
  hplayer.close();
17783
17805
  yield dialog_default.closeDialogs(
17784
17806
  [hplayer.getDialogID()],
17785
17807
  sdpFetcher.token
17786
17808
  );
17787
- }));
17809
+ });
17810
+ player.addEventListener("close", closeHandle);
17788
17811
  } catch (e2) {
17789
17812
  console.error("\u51FA\u9519", e2);
17790
17813
  player.mask.visible = true;
@@ -18275,6 +18298,7 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
18275
18298
  };
18276
18299
 
18277
18300
  // src/components/puPlayer.tsx
18301
+ init_jsx();
18278
18302
  var createProductRemoteSdp = (puOption, tempToken, callBack) => (localDescription) => __async(void 0, null, function* () {
18279
18303
  if (localDescription.type !== "offer")
18280
18304
  return void 0;
@@ -18604,8 +18628,10 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
18604
18628
  audioWaveShow.setMediaStream(player.video.srcObject);
18605
18629
  audioWaveShow.setEle(playerEl);
18606
18630
  }
18607
- if (player.mikeBtn)
18631
+ if (player.mikeBtn) {
18608
18632
  player.mikeBtn.intercom = intercom == null ? void 0 : intercom.instance;
18633
+ player.mikeBtn.type = this.protocol;
18634
+ }
18609
18635
  } catch (e) {
18610
18636
  try {
18611
18637
  let DisplayVolumn2 = function(volume) {
@@ -18694,9 +18720,13 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
18694
18720
  });
18695
18721
  };
18696
18722
  player.spinner.spin = false;
18697
- player.addEventListener("close", () => __async(this, null, function* () {
18723
+ const closeHandle = () => __async(this, null, function* () {
18698
18724
  var _a3;
18699
- (_a3 = player.panel) == null ? void 0 : _a3.controller.removeEventListener("volume", updateVolumeWrapper);
18725
+ player.removeEventListener("close", closeHandle);
18726
+ (_a3 = player.panel) == null ? void 0 : _a3.controller.removeEventListener(
18727
+ "volume",
18728
+ updateVolumeWrapper
18729
+ );
18700
18730
  player.clearEventListener("recordStart");
18701
18731
  player.clearEventListener("recordStop");
18702
18732
  player.clearEventListener("screenshot");
@@ -18708,7 +18738,8 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
18708
18738
  yield new Promise((r) => {
18709
18739
  setTimeout(r, 100);
18710
18740
  });
18711
- }));
18741
+ });
18742
+ player.addEventListener("close", closeHandle);
18712
18743
  onConnected && onConnected();
18713
18744
  reconnectMgr == null ? void 0 : reconnectMgr.cancelReconnect();
18714
18745
  dialog_default.closeDialogs([dialogId || ""], tempToken || "");
@@ -18803,7 +18834,10 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
18803
18834
  let updateVolumeWrapper = () => {
18804
18835
  updateVolumeButton();
18805
18836
  };
18806
- player.panel.controller.addEventListener("volume", updateVolumeWrapper);
18837
+ player.panel.controller.addEventListener(
18838
+ "volume",
18839
+ updateVolumeWrapper
18840
+ );
18807
18841
  const volumeSlider = player.panel.controller.VolumeSlider;
18808
18842
  if (volumeSlider) {
18809
18843
  volumeSlider.percent = hplayer.getVolume();
@@ -18817,8 +18851,10 @@ ${event.candidate ? event.candidate.candidate : "(null)"}`
18817
18851
  DisplayVolumn2(Number(e2 == null ? void 0 : e2.percent));
18818
18852
  });
18819
18853
  }
18820
- if (player.mikeBtn)
18854
+ if (player.mikeBtn) {
18821
18855
  player.mikeBtn.intercom = intercom == null ? void 0 : intercom.instance;
18856
+ player.mikeBtn.type = this.protocol;
18857
+ }
18822
18858
  } catch (e2) {
18823
18859
  player.mask.visible = true;
18824
18860
  player.mask.text = t("connect-failed");
package/dist/main.es.js CHANGED
@@ -99,7 +99,7 @@ var __async = (__this, __arguments, generator) => {
99
99
  var define_processenv_default;
100
100
  var init_define_processenv = __esm({
101
101
  "<define:processenv>"() {
102
- define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.8.49", PROJECT_NAMESPACE: "bvplayer" };
102
+ define_processenv_default = { NODE_ENV: "production", SH_LIB_NAME: "@besovideo/webrtc-player", SH_LIB_VERSION: "0.8.53", PROJECT_NAMESPACE: "bvplayer" };
103
103
  }
104
104
  });
105
105
 
@@ -11154,6 +11154,7 @@ function SvgElementbvPlayerCoreMikeOff({ className }) {
11154
11154
  }
11155
11155
 
11156
11156
  // src/templates/icons.tsx
11157
+ init_jsx();
11157
11158
  var Icon = ({ children, className, style: style2 }) => {
11158
11159
  const clsName = core_default.style.cls(["icon", className]);
11159
11160
  return /* @__PURE__ */ jsx.h("span", { className: clsName, style: style2, withNamespace: true }, children);
@@ -11465,7 +11466,8 @@ init_logger();
11465
11466
  // src/components/subComponent/mikeButton.tsx
11466
11467
  init_define_processenv();
11467
11468
  init_jsx_shim();
11468
- var _onIcon, _offIcon, _talk, _intercom, _onTalkStart, onTalkStart_fn, _onTalkEnd, onTalkEnd_fn;
11469
+ init_jsx();
11470
+ var _onIcon, _offIcon, _isBusy, _talk, _intercom, _type, _onTalkStart, onTalkStart_fn, _onTalkEnd, onTalkEnd_fn;
11469
11471
  var MikeButton = class extends HTMLElement {
11470
11472
  constructor() {
11471
11473
  super();
@@ -11474,13 +11476,18 @@ var MikeButton = class extends HTMLElement {
11474
11476
  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields weakmep实现的私有变量
11475
11477
  __privateAdd(this, _onIcon, core_default.dom.createByJsx(/* @__PURE__ */ jsx.h(icons_default.MikeOn, null)));
11476
11478
  __privateAdd(this, _offIcon, core_default.dom.createByJsx(/* @__PURE__ */ jsx.h(icons_default.MikeOff, null)));
11479
+ __privateAdd(this, _isBusy, false);
11477
11480
  //是否正在喊话
11478
11481
  __privateAdd(this, _talk, false);
11479
11482
  // 麦克风实例
11480
11483
  __privateAdd(this, _intercom, void 0);
11484
+ // 协议类型
11485
+ __privateAdd(this, _type, void 0);
11481
11486
  this.attachShadow({ mode: "open" });
11482
11487
  this.addEventListener("click", () => {
11483
- this.talking = !this.talking;
11488
+ if (!__privateGet(this, _isBusy)) {
11489
+ this.talking = !this.talking;
11490
+ }
11484
11491
  });
11485
11492
  this.talking = false;
11486
11493
  }
@@ -11490,16 +11497,22 @@ var MikeButton = class extends HTMLElement {
11490
11497
  set talking(state) {
11491
11498
  if (__privateGet(this, _talk) === state)
11492
11499
  return;
11493
- __privateSet(this, _talk, state);
11494
- if (state) {
11495
- __privateMethod(this, _onTalkStart, onTalkStart_fn).call(this);
11496
- } else {
11497
- __privateMethod(this, _onTalkEnd, onTalkEnd_fn).call(this);
11500
+ if (!__privateGet(this, _isBusy)) {
11501
+ __privateSet(this, _isBusy, true);
11502
+ __privateSet(this, _talk, state);
11503
+ let pm;
11504
+ pm = state ? __privateMethod(this, _onTalkStart, onTalkStart_fn).call(this) : __privateMethod(this, _onTalkEnd, onTalkEnd_fn).call(this);
11505
+ pm.finally(() => {
11506
+ __privateSet(this, _isBusy, false);
11507
+ });
11498
11508
  }
11499
11509
  }
11500
11510
  set intercom(ins) {
11501
11511
  __privateSet(this, _intercom, ins);
11502
11512
  }
11513
+ set type(type) {
11514
+ __privateSet(this, _type, type);
11515
+ }
11503
11516
  connectedCallback() {
11504
11517
  this.render();
11505
11518
  }
@@ -11511,21 +11524,27 @@ var MikeButton = class extends HTMLElement {
11511
11524
  };
11512
11525
  _onIcon = new WeakMap();
11513
11526
  _offIcon = new WeakMap();
11527
+ _isBusy = new WeakMap();
11514
11528
  _talk = new WeakMap();
11515
11529
  _intercom = new WeakMap();
11530
+ _type = new WeakMap();
11516
11531
  _onTalkStart = new WeakSet();
11517
11532
  onTalkStart_fn = function() {
11518
- var _a;
11519
- if (!__privateGet(this, _intercom))
11520
- return;
11521
- (_a = __privateGet(this, _intercom)) == null ? void 0 : _a.open();
11522
- __privateGet(this, _offIcon).replaceWith(__privateGet(this, _onIcon));
11533
+ return __async(this, null, function* () {
11534
+ var _a;
11535
+ if (!__privateGet(this, _intercom))
11536
+ return;
11537
+ yield (_a = __privateGet(this, _intercom)) == null ? void 0 : _a.open(void 0, __privateGet(this, _type));
11538
+ __privateGet(this, _offIcon).replaceWith(__privateGet(this, _onIcon));
11539
+ });
11523
11540
  };
11524
11541
  _onTalkEnd = new WeakSet();
11525
11542
  onTalkEnd_fn = function() {
11526
- var _a;
11527
- (_a = __privateGet(this, _intercom)) == null ? void 0 : _a.close();
11528
- __privateGet(this, _onIcon).replaceWith(__privateGet(this, _offIcon));
11543
+ return __async(this, null, function* () {
11544
+ var _a;
11545
+ yield (_a = __privateGet(this, _intercom)) == null ? void 0 : _a.close();
11546
+ __privateGet(this, _onIcon).replaceWith(__privateGet(this, _offIcon));
11547
+ });
11529
11548
  };
11530
11549
  customElements.define("mike-button", MikeButton);
11531
11550
 
@@ -17675,8 +17694,10 @@ var AudioPlayer = (props) => {
17675
17694
  enableController: false
17676
17695
  });
17677
17696
  const instance2 = __spreadProps(__spreadValues({}, bvWebrtcComponentInstance), {
17678
- open: (..._0) => __async(void 0, [..._0], function* (protocol = type) {
17697
+ open: (..._0) => __async(void 0, [..._0], function* (protocol = type, mikeButtonType) {
17679
17698
  var _a, _b, _c;
17699
+ if (mikeButtonType)
17700
+ protocol = mikeButtonType;
17680
17701
  const player = bvWebrtcComponentInstance.__dangerGetPlayer();
17681
17702
  let hplayer = null;
17682
17703
  try {
@@ -17762,15 +17783,17 @@ var AudioPlayer = (props) => {
17762
17783
  }
17763
17784
  };
17764
17785
  player.spinner.spin = false;
17765
- player.addEventListener("close", () => __async(void 0, null, function* () {
17786
+ const closeHandle = () => __async(void 0, null, function* () {
17766
17787
  if (!hplayer)
17767
17788
  return;
17789
+ player.removeEventListener("close", closeHandle);
17768
17790
  hplayer.close();
17769
17791
  yield dialog_default.closeDialogs(
17770
17792
  [hplayer.getDialogID()],
17771
17793
  sdpFetcher.token
17772
17794
  );
17773
- }));
17795
+ });
17796
+ player.addEventListener("close", closeHandle);
17774
17797
  } catch (e2) {
17775
17798
  console.error("\u51FA\u9519", e2);
17776
17799
  player.mask.visible = true;
@@ -18261,6 +18284,7 @@ var MediaStreamAudioWaveShowBVRtc = class {
18261
18284
  };
18262
18285
 
18263
18286
  // src/components/puPlayer.tsx
18287
+ init_jsx();
18264
18288
  var createProductRemoteSdp = (puOption, tempToken, callBack) => (localDescription) => __async(void 0, null, function* () {
18265
18289
  if (localDescription.type !== "offer")
18266
18290
  return void 0;
@@ -18590,8 +18614,10 @@ var PuPlayer = (props) => {
18590
18614
  audioWaveShow.setMediaStream(player.video.srcObject);
18591
18615
  audioWaveShow.setEle(playerEl);
18592
18616
  }
18593
- if (player.mikeBtn)
18617
+ if (player.mikeBtn) {
18594
18618
  player.mikeBtn.intercom = intercom == null ? void 0 : intercom.instance;
18619
+ player.mikeBtn.type = this.protocol;
18620
+ }
18595
18621
  } catch (e) {
18596
18622
  try {
18597
18623
  let DisplayVolumn2 = function(volume) {
@@ -18680,9 +18706,13 @@ var PuPlayer = (props) => {
18680
18706
  });
18681
18707
  };
18682
18708
  player.spinner.spin = false;
18683
- player.addEventListener("close", () => __async(this, null, function* () {
18709
+ const closeHandle = () => __async(this, null, function* () {
18684
18710
  var _a3;
18685
- (_a3 = player.panel) == null ? void 0 : _a3.controller.removeEventListener("volume", updateVolumeWrapper);
18711
+ player.removeEventListener("close", closeHandle);
18712
+ (_a3 = player.panel) == null ? void 0 : _a3.controller.removeEventListener(
18713
+ "volume",
18714
+ updateVolumeWrapper
18715
+ );
18686
18716
  player.clearEventListener("recordStart");
18687
18717
  player.clearEventListener("recordStop");
18688
18718
  player.clearEventListener("screenshot");
@@ -18694,7 +18724,8 @@ var PuPlayer = (props) => {
18694
18724
  yield new Promise((r) => {
18695
18725
  setTimeout(r, 100);
18696
18726
  });
18697
- }));
18727
+ });
18728
+ player.addEventListener("close", closeHandle);
18698
18729
  onConnected && onConnected();
18699
18730
  reconnectMgr == null ? void 0 : reconnectMgr.cancelReconnect();
18700
18731
  dialog_default.closeDialogs([dialogId || ""], tempToken || "");
@@ -18789,7 +18820,10 @@ var PuPlayer = (props) => {
18789
18820
  let updateVolumeWrapper = () => {
18790
18821
  updateVolumeButton();
18791
18822
  };
18792
- player.panel.controller.addEventListener("volume", updateVolumeWrapper);
18823
+ player.panel.controller.addEventListener(
18824
+ "volume",
18825
+ updateVolumeWrapper
18826
+ );
18793
18827
  const volumeSlider = player.panel.controller.VolumeSlider;
18794
18828
  if (volumeSlider) {
18795
18829
  volumeSlider.percent = hplayer.getVolume();
@@ -18803,8 +18837,10 @@ var PuPlayer = (props) => {
18803
18837
  DisplayVolumn2(Number(e2 == null ? void 0 : e2.percent));
18804
18838
  });
18805
18839
  }
18806
- if (player.mikeBtn)
18840
+ if (player.mikeBtn) {
18807
18841
  player.mikeBtn.intercom = intercom == null ? void 0 : intercom.instance;
18842
+ player.mikeBtn.type = this.protocol;
18843
+ }
18808
18844
  } catch (e2) {
18809
18845
  player.mask.visible = true;
18810
18846
  player.mask.text = t("connect-failed");
@@ -16,7 +16,7 @@ export interface IBvWebrtcComponentProps extends Props {
16
16
  enableController?: boolean;
17
17
  }
18
18
  export interface IBvWebrtcComponentInstance extends IComponentInstance {
19
- open(protocol?: "auto" | "webrtc" | "ws-bvrtc"): Promise<any>;
19
+ open(protocol?: "auto" | "webrtc" | "ws-bvrtc", mikeButtonType?: "auto" | "webrtc" | "ws-bvrtc"): Promise<any>;
20
20
  close(): Promise<any>;
21
21
  destroy(): void;
22
22
  setOption?(option: any): void;
@@ -5,6 +5,7 @@ export declare class MikeButton extends HTMLElement {
5
5
  get talking(): boolean;
6
6
  set talking(state: boolean);
7
7
  set intercom(ins: IIntercomInstance | undefined);
8
+ set type(type: "auto" | "webrtc" | "ws-bvrtc" | undefined);
8
9
  connectedCallback(): void;
9
10
  render(): void;
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@besovideo/webrtc-player",
3
- "version": "0.8.52",
3
+ "version": "0.8.53",
4
4
  "description": "@besovideo/webrtc-player desc",
5
5
  "type": "module",
6
6
  "types": "./dist/types/main.d.ts",
@@ -1,12 +0,0 @@
1
- import { ShLogger } from "@shirtiny/logger";
2
- declare class EmbedLogger extends ShLogger {
3
- http(_message: string, ..._data: any[]): void;
4
- info: (message: string, ...data: any[]) => void;
5
- debug: (message: string, ...data: any[]) => void;
6
- test: (message: string, ...data: any[]) => void;
7
- gc: (message: string, ...data: any[]) => void;
8
- libWarn: (message: string, ...data: any[]) => void;
9
- libError: (message: string, ...data: any[]) => void;
10
- }
11
- declare const logger: EmbedLogger;
12
- export default logger;