@signalwire/js 4.0.0-dev-20261012192336 → 4.0.0-dev-20261126145046

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/browser.mjs CHANGED
@@ -9020,6 +9020,15 @@ var Destroyable = class {
9020
9020
  const INVITE_VERSION = 1e3;
9021
9021
  const DEFAULT_ICE_CANDIDATE_TIMEOUT_MS = 600;
9022
9022
  const DEFAULT_ICE_GATHERING_TIMEOUT_MS = 6e3;
9023
+ /**
9024
+ * How long a first gather may find no candidate at all before it is given up.
9025
+ * Longer than the gathering timeout so a TURN allocation whose first Allocates
9026
+ * were lost can still answer (Chromium resends one at ~7.9 s), and shorter than
9027
+ * the dial's create timeout, so a dial still fails with the gathering error.
9028
+ */
9029
+ const DEFAULT_ICE_GATHERING_FAILURE_TIMEOUT_MS = 1e4;
9030
+ /** Prefix of an SDP line that carries an ICE candidate. */
9031
+ const SDP_CANDIDATE_LINE_PREFIX = "a=candidate:";
9023
9032
  const DEFAULT_RECONNECT_CALLS_TIMEOUT_MS = 300 * 1e3;
9024
9033
  const DEFAULT_CONNECTION_TIMEOUT_MS = 1e4;
9025
9034
  /**
@@ -9108,6 +9117,10 @@ const MEDIA_ACCESS_DENIAL_NAMES = [
9108
9117
  ];
9109
9118
  /** Error names browsers use when the capture hardware is already held exclusively. */
9110
9119
  const MEDIA_DEVICE_IN_USE_NAMES = ["NotReadableError", "TrackStartError"];
9120
+ const INACTIVE_MEDIA_DIRECTIONS = Object.freeze({
9121
+ audio: "inactive",
9122
+ video: "inactive"
9123
+ });
9111
9124
  /** Default polling interval for RTCPeerConnection.getStats() in milliseconds. */
9112
9125
  const DEFAULT_STATS_POLLING_INTERVAL_MS = 1e3;
9113
9126
  /** Number of initial samples used to build a baseline for spike detection. */
@@ -9433,6 +9446,20 @@ var AuxiliaryLegCancelledError = class extends Error {
9433
9446
  this.name = "AuxiliaryLegCancelledError";
9434
9447
  }
9435
9448
  };
9449
+ /**
9450
+ * ICE gathering for a call's first offer or answer ended without a single
9451
+ * candidate, as when the device has no usable network, so there is nothing the
9452
+ * far end could connect to. Fatal for the main leg: the SDP is never sent, and
9453
+ * waiting would stall the call forever.
9454
+ */
9455
+ var IceGatheringError = class extends Error {
9456
+ constructor(sdpType, gatheringState) {
9457
+ super(`ICE gathering ended (${gatheringState}) with no candidates; the ${sdpType} cannot be sent`);
9458
+ this.sdpType = sdpType;
9459
+ this.gatheringState = gatheringState;
9460
+ this.name = "IceGatheringError";
9461
+ }
9462
+ };
9436
9463
  var MediaTrackError = class extends Error {
9437
9464
  constructor(operation, kind, originalError) {
9438
9465
  super(`Media track ${operation} failed for ${kind}`, { cause: originalError instanceof Error ? originalError : void 0 });
@@ -12630,6 +12657,7 @@ var AttachManager = class {
12630
12657
  const options = this.buildCallOptions(attachment);
12631
12658
  let succeeded = false;
12632
12659
  let refusedOnCredentials = false;
12660
+ let gatheredNothing = false;
12633
12661
  for (let attempt = 1; attempt <= 3; attempt++) try {
12634
12662
  await this.session.createOutboundCall(destination, {
12635
12663
  callId,
@@ -12640,6 +12668,7 @@ var AttachManager = class {
12640
12668
  break;
12641
12669
  } catch (error) {
12642
12670
  logger$26.warn(`[AttachManager] Reattach attempt ${attempt}/3 failed for call ${callId}:`, error);
12671
+ gatheredNothing = error instanceof Error && error.cause instanceof IceGatheringError;
12643
12672
  if (isRequesterValidationError(error)) {
12644
12673
  refusedOnCredentials = true;
12645
12674
  logger$26.warn(`[AttachManager] Reattach of ${callId} was refused on credentials; not retrying.`);
@@ -12647,7 +12676,7 @@ var AttachManager = class {
12647
12676
  }
12648
12677
  if (attempt < 3) await new Promise((r) => setTimeout(r, (attempt + 1) * 1e3));
12649
12678
  }
12650
- if (!succeeded) if (this.credentialRecovered() && !refusedOnCredentials) {
12679
+ if (!succeeded) if (this.credentialRecovered() && !refusedOnCredentials && !gatheredNothing) {
12651
12680
  logger$26.warn(`[AttachManager] Reattach of ${callId} was denied after a verified reauthentication, removing reference`);
12652
12681
  await this.detach({
12653
12682
  id: callId,
@@ -15115,6 +15144,17 @@ function extractMediaDirectionsFromSDP(sdp) {
15115
15144
  return result;
15116
15145
  }
15117
15146
  /**
15147
+ * Whether an SDP string carries at least one ICE candidate of any type.
15148
+ *
15149
+ * The end-of-candidates indication (`a=end-of-candidates`) is not a candidate.
15150
+ *
15151
+ * @param sdp - The SDP string to check
15152
+ * @returns true if any line is an `a=candidate:` line
15153
+ */
15154
+ function hasCandidates(sdp) {
15155
+ return sdp.split(/\r?\n/).some((line) => line.startsWith(SDP_CANDIDATE_LINE_PREFIX));
15156
+ }
15157
+ /**
15118
15158
  * Validates that an SDP string has at least one non-host ICE candidate
15119
15159
  * for each media section (m= line).
15120
15160
  *
@@ -15145,7 +15185,7 @@ function isValidLocalDescription(sdp) {
15145
15185
  for (const line of lines) if (line.startsWith("m=")) {
15146
15186
  currentSection += 1;
15147
15187
  mediaSectionsValidCandidates[currentSection] = 0;
15148
- } else if (line.startsWith("a=candidate:")) {
15188
+ } else if (line.startsWith(SDP_CANDIDATE_LINE_PREFIX)) {
15149
15189
  const typeMatch = /\styp\s+(host|srflx|prflx|relay)/.exec(line);
15150
15190
  if (typeMatch && typeMatch[1] !== "host") mediaSectionsValidCandidates[currentSection] += 1;
15151
15191
  }
@@ -15333,19 +15373,31 @@ var ICEGatheringController = class extends Destroyable {
15333
15373
  this.iceCandidateTimeout = options.iceCandidateTimeout ?? DEFAULT_ICE_CANDIDATE_TIMEOUT_MS;
15334
15374
  this.iceGatheringTimeout = options.iceGatheringTimeout ?? DEFAULT_ICE_GATHERING_TIMEOUT_MS;
15335
15375
  this.relayOnly = options.relayOnly ?? false;
15376
+ this.endGatheringWithoutCandidates = options.endGatheringWithoutCandidates ?? (() => false);
15336
15377
  this.setupEventListeners();
15337
15378
  this.subscribeTo(this.peerConnectionControllerNegotiating$.pipe((0, import_cjs$19.filter)((isNegotiating) => isNegotiating)), (isNegotiating) => {
15338
15379
  if (isNegotiating) {
15339
15380
  this.setupEventListeners();
15340
- this.iceGatheringTimer = setTimeout(() => {
15341
- if (this.peerConnection.iceGatheringState !== "complete") {
15342
- logger$21.warn("[ICEGatheringController] ICE gathering timeout, using current SDP");
15343
- this.handleICEGatheringTimeout();
15344
- }
15345
- }, this.iceGatheringTimeout);
15381
+ this.restartGatheringTimer();
15346
15382
  }
15347
15383
  });
15348
15384
  }
15385
+ /**
15386
+ * (Re)starts the gathering timeout and the give-up deadline from now. An
15387
+ * inbound call starts negotiating while it rings, so its answer calls this
15388
+ * to count both from when the answer's gathering actually starts.
15389
+ */
15390
+ restartGatheringTimer() {
15391
+ this.removeTimer("iceGatheringTimer");
15392
+ this.removeTimer("iceGatheringFailureTimer");
15393
+ this.iceGatheringTimer = setTimeout(() => {
15394
+ if (this.peerConnection.iceGatheringState !== "complete") {
15395
+ logger$21.warn("[ICEGatheringController] ICE gathering timeout, using current SDP");
15396
+ this.handleICEGatheringTimeout();
15397
+ }
15398
+ }, this.iceGatheringTimeout);
15399
+ this.iceGatheringFailureTimer = setTimeout(() => this.handleICEGatheringFailureTimeout(), Math.max(this.iceGatheringTimeout, DEFAULT_ICE_GATHERING_FAILURE_TIMEOUT_MS));
15400
+ }
15349
15401
  setupEventListeners() {
15350
15402
  this.peerConnection.removeEventListener("icecandidate", this.onicecandidateHandler);
15351
15403
  this.peerConnection.addEventListener("icecandidate", this.onicecandidateHandler);
@@ -15359,6 +15411,11 @@ var ICEGatheringController = class extends Destroyable {
15359
15411
  const sdp = this.peerConnection.localDescription?.sdp;
15360
15412
  return isValidLocalDescription(sdp ?? "");
15361
15413
  }
15414
+ /** A local description is set and carries no candidate of any type. */
15415
+ get hasNoCandidates() {
15416
+ const sdp = this.peerConnection.localDescription?.sdp;
15417
+ return sdp !== void 0 && !hasCandidates(sdp);
15418
+ }
15362
15419
  get isRelayOnly() {
15363
15420
  return this.relayOnly;
15364
15421
  }
@@ -15392,6 +15449,22 @@ var ICEGatheringController = class extends Destroyable {
15392
15449
  this.stopGathering();
15393
15450
  } else logger$21.debug("### ICE gathering timeout\n", this.peerConnection.localDescription?.sdp);
15394
15451
  }
15452
+ /**
15453
+ * Nothing at all was gathered by the give-up deadline. Without a candidate
15454
+ * the SDP is never sent, so end gathering when allowed rather than wait for
15455
+ * the browser. Any candidate, even a host one, keeps it gathering as before.
15456
+ * A gather that already ended has cleared this timer in stopGathering().
15457
+ */
15458
+ handleICEGatheringFailureTimeout() {
15459
+ this.removeTimer("iceGatheringFailureTimer");
15460
+ if (!this.hasNoCandidates || !this.endGatheringWithoutCandidates()) return;
15461
+ logger$21.warn("[ICEGatheringController] ICE gathering found no candidates, giving up");
15462
+ this._iceCandidatesState.next({
15463
+ state: "timeout",
15464
+ validSDP: false
15465
+ });
15466
+ this.stopGathering();
15467
+ }
15395
15468
  handleICECandidateTimeout() {
15396
15469
  if (this.iceCandidateTimer) this.removeTimer("iceCandidateTimer");
15397
15470
  logger$21.warn("[ICEGatheringController] ICE candidate timeout");
@@ -15424,6 +15497,7 @@ var ICEGatheringController = class extends Destroyable {
15424
15497
  clearAllTimers() {
15425
15498
  logger$21.debug("[ICEGatheringController] Clearing all timers");
15426
15499
  this.removeTimer("iceGatheringTimer");
15500
+ this.removeTimer("iceGatheringFailureTimer");
15427
15501
  this.removeTimer("iceCandidateTimer");
15428
15502
  }
15429
15503
  removeEventListeners() {
@@ -16075,8 +16149,9 @@ var RTCPeerConnectionController = class extends Destroyable {
16075
16149
  this.options = options;
16076
16150
  this.firstSDPExchangeCompleted = false;
16077
16151
  this.negotiationNeeded$ = this.createSubject();
16078
- this.localDescription$ = (0, import_cjs$16.defer)(() => (0, import_cjs$16.from)(this.init())).pipe((0, import_cjs$16.switchMap)(() => this.iceGatheringController.iceCandidatesState$.pipe((0, import_cjs$16.filter)((iceCandidateState) => !["new", "gathering"].includes(iceCandidateState)), (0, import_cjs$16.tap)(() => {
16152
+ this.localDescription$ = (0, import_cjs$16.defer)(() => (0, import_cjs$16.from)(this.init())).pipe((0, import_cjs$16.switchMap)(() => this.iceGatheringController.iceCandidatesState$.pipe((0, import_cjs$16.filter)((iceCandidateState) => iceCandidateState === "complete" || iceCandidateState === "timeout"), (0, import_cjs$16.tap)((iceCandidateState) => {
16079
16153
  this.negotiationEnded();
16154
+ this.failFirstExchangeWithoutCandidates(iceCandidateState);
16080
16155
  }), (0, import_cjs$16.filter)(() => this.shouldEmitLocalDescription), (0, import_cjs$16.map)(() => this.peerConnection?.localDescription), filterNull(), (0, import_cjs$16.tap)((desc) => {
16081
16156
  if (desc.type === "answer") this._type = "offer";
16082
16157
  }))), (0, import_cjs$16.shareReplay)(1), (0, import_cjs$16.takeUntil)(this.destroyed$));
@@ -16186,6 +16261,20 @@ var RTCPeerConnectionController = class extends Destroyable {
16186
16261
  if (!this._iceGatheringController) throw new DependencyError("ICEGatheringController is not initialized");
16187
16262
  return this._iceGatheringController;
16188
16263
  }
16264
+ /**
16265
+ * Gathering for the first offer or answer ended without a single candidate.
16266
+ * That SDP is never sent (see {@link shouldEmitLocalDescription}), and
16267
+ * nothing else would end the call, so report it. A later renegotiation is
16268
+ * left to call recovery.
16269
+ */
16270
+ failFirstExchangeWithoutCandidates(iceCandidateState) {
16271
+ const localDescription = this.peerConnection?.localDescription;
16272
+ if (this.firstSDPExchangeCompleted || !localDescription || hasCandidates(localDescription.sdp)) return;
16273
+ const error = new IceGatheringError(localDescription.type, iceCandidateState);
16274
+ logger$17.error(`[RTCPeerConnectionController] ICE gathering for the ${error.sdpType} ended (${error.gatheringState}) with no candidates`);
16275
+ logger$17.debug("[RTCPeerConnectionController] SDP without candidates:", localDescription.sdp);
16276
+ this._errors$.next(error);
16277
+ }
16189
16278
  get shouldEmitLocalDescription() {
16190
16279
  if (!this.peerConnection) return false;
16191
16280
  const { localDescription, signalingState } = this.peerConnection;
@@ -16430,7 +16519,8 @@ var RTCPeerConnectionController = class extends Destroyable {
16430
16519
  this._iceGatheringController = new ICEGatheringController(this.peerConnection, this.isNegotiating$, {
16431
16520
  iceCandidateTimeout: this.options.iceCandidateTimeout,
16432
16521
  iceGatheringTimeout: this.options.iceGatheringTimeout,
16433
- relayOnly: this.options.relayOnly
16522
+ relayOnly: this.options.relayOnly,
16523
+ endGatheringWithoutCandidates: () => !this.firstSDPExchangeCompleted
16434
16524
  });
16435
16525
  this.transceiverController = new TransceiverController({
16436
16526
  peerConnection: this.peerConnection,
@@ -16545,6 +16635,7 @@ var RTCPeerConnectionController = class extends Destroyable {
16545
16635
  }
16546
16636
  const { answerOptions } = this;
16547
16637
  logger$17.debug("[RTCPeerConnectionController] Creating inbound answer with options:", answerOptions);
16638
+ this.iceGatheringController.restartGatheringTimer();
16548
16639
  await this.createAnswer(answerOptions);
16549
16640
  }
16550
16641
  async handleOfferReceived() {
@@ -17080,10 +17171,7 @@ var RTCPeerConnectionController = class extends Destroyable {
17080
17171
  });
17081
17172
  }
17082
17173
  get mediaDirections() {
17083
- return this.transceiverController?.getMediaDirections() ?? this._remoteOfferMediaDirections ?? {
17084
- audio: "inactive",
17085
- video: "inactive"
17086
- };
17174
+ return this.transceiverController?.getMediaDirections() ?? this._remoteOfferMediaDirections ?? INACTIVE_MEDIA_DIRECTIONS;
17087
17175
  }
17088
17176
  async _setRemoteDescription(params) {
17089
17177
  if (!this.peerConnection) throw new DependencyError("RTCPeerConnection is not initialized");
@@ -17260,7 +17348,7 @@ var WebRTCVertoManager = class extends VertoManager {
17260
17348
  }
17261
17349
  }
17262
17350
  get mediaDirections() {
17263
- return this.mainPeerConnection.mediaDirections;
17351
+ return this._rtcPeerConnectionsMap.get(this.webRtcCallSession.id)?.mediaDirections ?? INACTIVE_MEDIA_DIRECTIONS;
17264
17352
  }
17265
17353
  get rtcPeerConnections$() {
17266
17354
  return this._rtcPeerConnections$.asObservable();
@@ -17718,7 +17806,7 @@ var WebRTCVertoManager = class extends VertoManager {
17718
17806
  if (rtcPeerConnController.isMainDevice) {
17719
17807
  this._selfId$.next(memberId);
17720
17808
  this._nodeId$.next(nodeId);
17721
- this.attachManager.attach(this.buildAttachableCall(callId, nodeId ?? void 0));
17809
+ if (this._rtcPeerConnectionsMap.has(this.webRtcCallSession.id)) this.attachManager.attach(this.buildAttachableCall(callId, nodeId ?? void 0));
17722
17810
  }
17723
17811
  if (callId) this.webRtcCallSession.addCallId(callId);
17724
17812
  logger$16.info("[WebRTCManager] Verto invite successful");
@@ -17764,7 +17852,8 @@ var WebRTCVertoManager = class extends VertoManager {
17764
17852
  this._rtcPeerConnectionsMap.set(rtcPeerConnController.id, rtcPeerConnController);
17765
17853
  this._rtcPeerConnections$.next(Array.from(this._rtcPeerConnectionsMap.values()));
17766
17854
  this.subscribeTo(rtcPeerConnController.errors$, (error) => {
17767
- this.reportLegError(error, rtcPeerConnController);
17855
+ const fatal = error instanceof IceGatheringError && this.isReattaching(rtcPeerConnController) ? false : void 0;
17856
+ this.reportLegError(error, rtcPeerConnController, { fatal });
17768
17857
  });
17769
17858
  if (options.initOffer) this.handleInboundAnswer(rtcPeerConnController);
17770
17859
  }
@@ -17894,7 +17983,7 @@ var WebRTCVertoManager = class extends VertoManager {
17894
17983
  this.emitMainSignalingStatus(rtcPeerConnectionController.id, "connecting");
17895
17984
  await this.sendLocalDescription(vertoMessageRequest, rtcPeerConnectionController);
17896
17985
  await rtcPeerConnectionController.updateAnswerStatus({ status: "sent" });
17897
- await this.attachManager.attach(this.buildAttachableCall());
17986
+ if (this._rtcPeerConnectionsMap.has(this.webRtcCallSession.id)) await this.attachManager.attach(this.buildAttachableCall());
17898
17987
  } catch (error) {
17899
17988
  logger$16.error("[WebRTCManager] Error sending Verto answer:", error);
17900
17989
  this.reportLegError(toError(error), rtcPeerConnectionController);
@@ -17902,6 +17991,10 @@ var WebRTCVertoManager = class extends VertoManager {
17902
17991
  }
17903
17992
  }
17904
17993
  }
17994
+ /** The leg's first exchange is a reattach of a call that already exists on the server. */
17995
+ isReattaching(rtcPeerConnectionController) {
17996
+ return rtcPeerConnectionController.propose === "main" && !rtcPeerConnectionController.firstSDPExchangeCompleted && this.webRtcCallSession.options.reattach === true;
17997
+ }
17905
17998
  dialogParams(rtcPeerConnectionController) {
17906
17999
  const memberId = rtcPeerConnectionController.memberId ?? this._selfId$.value ?? void 0;
17907
18000
  const attach = rtcPeerConnectionController.propose === "main" && !rtcPeerConnectionController.firstSDPExchangeCompleted && this.webRtcCallSession.options.reattach;
@@ -19665,7 +19758,7 @@ var WebRTCCall = class extends Destroyable {
19665
19758
  get mediaDirections$() {
19666
19759
  return this.deferEmission(this.vertoManager.mediaDirections$).pipe((0, import_cjs$11.takeUntil)(this._destroyed$));
19667
19760
  }
19668
- /** Current audio/video send/receive directions. */
19761
+ /** Current audio/video send/receive directions. Both are `'inactive'` once the call is destroyed. */
19669
19762
  get mediaDirections() {
19670
19763
  return this.vertoManager.mediaDirections;
19671
19764
  }
@@ -20108,6 +20201,7 @@ function inferCallErrorKind(error) {
20108
20201
  if (error instanceof JSONRPCError) return "signaling";
20109
20202
  if (error instanceof MediaTrackError) return "media";
20110
20203
  if (error instanceof MediaAccessError) return "media";
20204
+ if (error instanceof IceGatheringError) return "media";
20111
20205
  if (error instanceof WebSocketConnectionError || error instanceof TransportConnectionError) return "network";
20112
20206
  return "internal";
20113
20207
  }
@@ -21117,6 +21211,10 @@ var ClientSessionManager = class extends Destroyable {
21117
21211
  [`${callSession.id}`]: callSession,
21118
21212
  ...this._calls$.value
21119
21213
  });
21214
+ this.subscribeTo(callSession.errors$.pipe((0, import_cjs$7.filter)(({ error, leg }) => (leg ?? "main") === "main" && error instanceof IceGatheringError), (0, import_cjs$7.take)(1)), () => {
21215
+ logger$9.warn(`[Session] Reattach of ${callSession.id} gathered no candidates; dropping the local call`);
21216
+ callSession.destroy();
21217
+ });
21120
21218
  }
21121
21219
  async createOutboundCall(destination, options = {}) {
21122
21220
  const destinationURI = destination instanceof Address ? destination.defaultChannel : destination;
@@ -23259,7 +23357,7 @@ var SignalWire = class extends Destroyable {
23259
23357
  logger$1.warn("[SignalWire] Failed to initialize VisibilityController:", error);
23260
23358
  }
23261
23359
  try {
23262
- this._diagnosticsCollector = new DiagnosticsCollector({ sdkVersion: "4.0.0-dev-20261012192336" });
23360
+ this._diagnosticsCollector = new DiagnosticsCollector({ sdkVersion: "4.0.0-dev-20261126145046" });
23263
23361
  } catch (error) {
23264
23362
  logger$1.warn("[SignalWire] Failed to initialize DiagnosticsCollector:", error);
23265
23363
  }
@@ -23814,7 +23912,7 @@ var StaticCredentialProvider = class {
23814
23912
  /**
23815
23913
  * Library version from package.json, injected at build time.
23816
23914
  */
23817
- const version = "4.0.0-dev-20261012192336";
23915
+ const version = "4.0.0-dev-20261126145046";
23818
23916
  /**
23819
23917
  * Flag indicating the library has been loaded and is ready to use.
23820
23918
  * For UMD builds: `window.SignalWire.ready`
@@ -23836,7 +23934,7 @@ const ready = true;
23836
23934
  */
23837
23935
  const emitReadyEvent = () => {
23838
23936
  if (typeof window !== "undefined") {
23839
- const event = new CustomEvent("signalwire:js:ready", { detail: { version: "4.0.0-dev-20261012192336" } });
23937
+ const event = new CustomEvent("signalwire:js:ready", { detail: { version: "4.0.0-dev-20261126145046" } });
23840
23938
  window.dispatchEvent(event);
23841
23939
  }
23842
23940
  };
@@ -23860,5 +23958,5 @@ emitReadyEvent();
23860
23958
  if (typeof process === "undefined") globalThis.process = { env: { NODE_ENV: "production" } };
23861
23959
 
23862
23960
  //#endregion
23863
- export { Address, AuxiliaryLegCancelledError, AuxiliaryLegTimeoutError, CallCreateError, CallNotReadyError, ClientPreferences, CollectionFetchError, DPoPInitError, DeviceTokenError, EmbedTokenCredentialProvider, InvalidCredentialsError, MediaAccessError, MediaTrackError, MessageParseError, OverconstrainedFallbackError, Participant, ParticipantNotReadyError, PreflightError, RecoveryError, ScreenShareAlreadyActiveError, SelfCapabilities, SelfParticipant, SignalWire, StaticCredentialProvider, TokenRefreshError, UnexpectedError, User, VertoPongError, WebRTCCall, embeddableCall, getLogger, isSelfParticipant, ready, setDebugOptions, setLogLevel, setLogger, version };
23961
+ export { Address, AuxiliaryLegCancelledError, AuxiliaryLegTimeoutError, CallCreateError, CallNotReadyError, ClientPreferences, CollectionFetchError, DPoPInitError, DeviceTokenError, EmbedTokenCredentialProvider, IceGatheringError, InvalidCredentialsError, MediaAccessError, MediaTrackError, MessageParseError, OverconstrainedFallbackError, Participant, ParticipantNotReadyError, PreflightError, RecoveryError, ScreenShareAlreadyActiveError, SelfCapabilities, SelfParticipant, SignalWire, StaticCredentialProvider, TokenRefreshError, UnexpectedError, User, VertoPongError, WebRTCCall, embeddableCall, getLogger, isSelfParticipant, ready, setDebugOptions, setLogLevel, setLogger, version };
23864
23962
  //# sourceMappingURL=browser.mjs.map