hanc-webrtc-widgets 2.2.7 → 2.2.10

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.
@@ -17305,7 +17305,7 @@ class wd extends EventTarget {
17305
17305
  if (t)
17306
17306
  try {
17307
17307
  await n.localParticipant.setMicrophoneEnabled(!0, {
17308
- echoCancellation: !this.isAppleDevice,
17308
+ echoCancellation: !0,
17309
17309
  noiseSuppression: !0,
17310
17310
  autoGainControl: !0
17311
17311
  }), this.microphoneEnabled = !0, this.dispatchEvent(new CustomEvent("microphone-enabled")), t.getTracks().forEach((l) => l.stop()), this.scheduleTimer(() => {
@@ -17461,7 +17461,7 @@ class wd extends EventTarget {
17461
17461
  if (this.room)
17462
17462
  try {
17463
17463
  this.microphoneEnabled ? (await this.room.localParticipant.setMicrophoneEnabled(!1), this.microphoneEnabled = !1, this.dispatchEvent(new CustomEvent("microphone-disabled"))) : (await this.room.localParticipant.setMicrophoneEnabled(!0, {
17464
- echoCancellation: !this.isAppleDevice,
17464
+ echoCancellation: !0,
17465
17465
  noiseSuppression: !0,
17466
17466
  autoGainControl: !0
17467
17467
  }), this.microphoneEnabled = !0, this.dispatchEvent(new CustomEvent("microphone-enabled")));
@@ -39204,7 +39204,7 @@ let dt = class extends gs {
39204
39204
  for (const n of e)
39205
39205
  n.isIntersecting && !this.isOrbInitialized && (this.initializeOrb(), this.isOrbInitialized = !0, (t = this.intersectionObserver) == null || t.disconnect(), this.intersectionObserver = null);
39206
39206
  },
39207
- { threshold: 0.1 }
39207
+ { threshold: 0.5 }
39208
39208
  // Trigger when 10% visible
39209
39209
  ), this.intersectionObserver.observe(i);
39210
39210
  }
@@ -39822,7 +39822,7 @@ let ut = class extends gs {
39822
39822
  for (const n of e)
39823
39823
  n.isIntersecting && !this.isOrbInitialized && (this.initializeOrb(), this.isOrbInitialized = !0, (t = this.intersectionObserver) == null || t.disconnect(), this.intersectionObserver = null);
39824
39824
  },
39825
- { threshold: 0.1 }
39825
+ { threshold: 0.5 }
39826
39826
  ), this.intersectionObserver.observe(i);
39827
39827
  }
39828
39828
  updated(i) {
@@ -40423,7 +40423,7 @@ let ht = class extends gs {
40423
40423
  for (const n of e)
40424
40424
  n.isIntersecting && !this.isOrbInitialized && (this.initializeOrb(), this.isOrbInitialized = !0, (t = this.intersectionObserver) == null || t.disconnect(), this.intersectionObserver = null);
40425
40425
  },
40426
- { threshold: 0.1 }
40426
+ { threshold: 0.5 }
40427
40427
  ), this.intersectionObserver.observe(i);
40428
40428
  }
40429
40429
  updated(i) {