@pagelines/sdk 1.0.816 → 1.0.817

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/provider3.js CHANGED
@@ -18365,6 +18365,16 @@ var $a = 1e4, eo = "lk.agent.state", LiveKitVoiceProvider = class {
18365
18365
  for (let e of this.attachedElements) e.remove();
18366
18366
  this.attachedElements = [], await this.room.disconnect();
18367
18367
  }
18368
+ async setMuted(e) {
18369
+ if (e) {
18370
+ await this.room.localParticipant.setMicrophoneEnabled(!1);
18371
+ return;
18372
+ }
18373
+ await this.room.localParticipant.setMicrophoneEnabled(!0, {
18374
+ echoCancellation: !0,
18375
+ noiseSuppression: !0
18376
+ });
18377
+ }
18368
18378
  sampleLevel() {
18369
18379
  let e;
18370
18380
  for (let { source: t, analyser: n } of this.levelSources) {