@ikonai/sdk 1.0.32 → 1.0.34

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.
@@ -651,7 +651,7 @@ async function dt(t, e) {
651
651
  const r = await k(t, Ut);
652
652
  return Ot(r, e);
653
653
  }
654
- const Ft = "avc1.42E01E", Mt = "vp8", Vt = "vp09.00.10.08", Gt = "av01.0.04M.08", Bt = 3, S = (t, e) => self.postMessage(t, e ?? []);
654
+ const Ft = "avc1.42E01E", Mt = "vp8", Vt = "vp09.00.10.08", Gt = "av01.0.04M.08", Bt = 8, S = (t, e) => self.postMessage(t, e ?? []);
655
655
  let l = null, g = !0;
656
656
  const A = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map();
657
657
  function R(t) {
@@ -348,3 +348,5 @@ export declare const DEFAULT_KEEPALIVE_TIMEOUT_MS = 15000;
348
348
  export declare const DEFAULT_RECONNECT_BACKOFF_MS = 2000;
349
349
  export declare const DEFAULT_MAX_RECONNECT_ATTEMPTS = 2;
350
350
  export declare const DEFAULT_PROVISIONING_TIMEOUT_MS = 60000;
351
+ export declare const OFFLINE_SOFT_RETRY_THRESHOLD_MS: number;
352
+ export declare const RECONNECT_RETRY_INTERVAL_MS: number;
@@ -132,7 +132,11 @@ export declare class IkonClient {
132
132
  private _webRtcTrackMap;
133
133
  private _keepaliveLockAbort;
134
134
  private _fullReauthAttempted;
135
+ private _softReconnectAttempted;
135
136
  private _reauthInProgress;
137
+ private _disconnectedAt;
138
+ private _reconnectTimer;
139
+ private _serverStopped;
136
140
  private _waitForExternalConnectUrl;
137
141
  private _externalConnectUrlCleanup;
138
142
  /**
@@ -325,6 +329,9 @@ export declare class IkonClient {
325
329
  private releaseKeepaliveLock;
326
330
  private canAttemptFullReauth;
327
331
  private attemptFullReauth;
332
+ private attemptReconnect;
333
+ private scheduleReconnectRetry;
334
+ private clearReconnectTimer;
328
335
  private attemptReconnectOnVisible;
329
336
  /**
330
337
  * Clear all timers.