@ikonai/sdk 1.0.78 → 1.0.80
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/{audio-playback-worker-DDtsnLoq.js → audio-playback-worker-C9XXiFhK.js} +350 -349
- package/assets/{protocol-worker-BoZcMF0x.js → protocol-worker-1sGaGw11.js} +277 -277
- package/assets/video-capture-worker-zOxyU-q3.js +1126 -0
- package/assets/video-playback-worker-DfwfIoRw.js +1005 -0
- package/assets/viseme-worker-CFJdP6of.js +831 -0
- package/client/ikon-client.d.ts +12 -0
- package/index.js +935 -901
- package/media/ikon-audio-capture.d.ts +8 -0
- package/package.json +1 -1
- package/assets/video-capture-worker-DxgvFTcw.js +0 -1126
- package/assets/video-playback-worker-Ca4XVGqt.js +0 -1005
- package/assets/viseme-worker-DVWM4pRh.js +0 -831
package/client/ikon-client.d.ts
CHANGED
|
@@ -153,6 +153,8 @@ export declare class IkonClient {
|
|
|
153
153
|
private _webRtcSignaling;
|
|
154
154
|
private _webRtcConnectWatchdog;
|
|
155
155
|
private _webRtcFallbackActive;
|
|
156
|
+
private _webRtcRetryCount;
|
|
157
|
+
private _webRtcRetryTimer;
|
|
156
158
|
private _webRtcAudioElements;
|
|
157
159
|
private _webRtcAudioStreams;
|
|
158
160
|
private _webRtcVideoStreams;
|
|
@@ -410,6 +412,16 @@ export declare class IkonClient {
|
|
|
410
412
|
private enableCustomPlayback;
|
|
411
413
|
private setupWebRtcSignaling;
|
|
412
414
|
private clearWebRtcConnectWatchdog;
|
|
415
|
+
private clearWebRtcRetry;
|
|
416
|
+
/**
|
|
417
|
+
* A WebRTC-only failure (protocol channel still healthy) used to latch the session onto
|
|
418
|
+
* custom playback forever, even when the network recovered seconds later. Retry a bounded
|
|
419
|
+
* number of times so a transient blip doesn't permanently downgrade a long-lived session.
|
|
420
|
+
* Playback keeps running on the protocol channel in the meantime; once the new WebRTC
|
|
421
|
+
* session connects, the server routes media back over RTP and capture re-routes on the
|
|
422
|
+
* next segment via isWebRtcCaptureAvailable.
|
|
423
|
+
*/
|
|
424
|
+
private scheduleWebRtcRetry;
|
|
413
425
|
/**
|
|
414
426
|
* Tear down a failed/never-connected WebRTC session and switch to the
|
|
415
427
|
* non-WebRTC (protocol-channel) playback path. The server is told to drop the
|