@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.
- package/assets/{protocol-worker-BNeN5rOx.js → protocol-worker-Df11kdu1.js} +352 -349
- package/assets/{video-playback-worker-DSozRiYd.js → video-playback-worker-eGtjWcFg.js} +1 -1
- package/client/ikon-client-config.d.ts +2 -0
- package/client/ikon-client.d.ts +7 -0
- package/index.js +639 -601
- package/media/video-constants.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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 =
|
|
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;
|
package/client/ikon-client.d.ts
CHANGED
|
@@ -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.
|