@livedigital/client 3.35.0-createCustomMediaTracks.2 → 3.35.0
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/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/engine/index.ts +8 -0
package/package.json
CHANGED
package/src/engine/index.ts
CHANGED
|
@@ -183,6 +183,7 @@ class Engine {
|
|
|
183
183
|
|
|
184
184
|
try {
|
|
185
185
|
this.state.isJoined = false;
|
|
186
|
+
this.network.peersLoaded = false;
|
|
186
187
|
this.state.reset();
|
|
187
188
|
this.myPeer.delete();
|
|
188
189
|
this.webRtcIssueDetector?.stopWatchingNewPeerConnections();
|
|
@@ -778,6 +779,13 @@ class Engine {
|
|
|
778
779
|
let continiousNumberOfLoadbalancerSuccessufulChecks = 0;
|
|
779
780
|
|
|
780
781
|
const checkInterval = setInterval(async () => {
|
|
782
|
+
if (this.isReleasing || !this.state.isJoined) {
|
|
783
|
+
clearInterval(checkInterval);
|
|
784
|
+
this.#logger.info('Stop waiting for seamless reconnect due to call end', {
|
|
785
|
+
case: 'waitForReconnectOrTriggerRejoinEventIfAppropriate',
|
|
786
|
+
});
|
|
787
|
+
return;
|
|
788
|
+
}
|
|
781
789
|
try {
|
|
782
790
|
if (!this.#isConnectionLost) {
|
|
783
791
|
// connection restored
|