@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.
@@ -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