@livedigital/client 3.44.1 → 3.44.3
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 +2 -2
- package/src/engine/network/index.ts +3 -3
package/package.json
CHANGED
package/src/engine/index.ts
CHANGED
|
@@ -76,7 +76,7 @@ class Engine {
|
|
|
76
76
|
private readonly mark = randomString();
|
|
77
77
|
|
|
78
78
|
private readonly handleSignalingError = (error: Error): void => {
|
|
79
|
-
if (this.isReleasing) {
|
|
79
|
+
if (this.isReleasing || !this.isChannelJoined || this.state.isChannelJoining) {
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -667,7 +667,7 @@ class Engine {
|
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
private triggerRejoinEventIfAppropriate(reason?: string): void {
|
|
670
|
-
if (this.
|
|
670
|
+
if (!this.isChannelJoined || this.isReleasing || this.state.isChannelJoining || this.rejoinRequested) {
|
|
671
671
|
return;
|
|
672
672
|
}
|
|
673
673
|
|
|
@@ -143,7 +143,7 @@ class Network {
|
|
|
143
143
|
|
|
144
144
|
closeSendTransport(): void {
|
|
145
145
|
if (!this.sendTransport) {
|
|
146
|
-
this.#logger.
|
|
146
|
+
this.#logger.debug('closeSendTransport()', { message: 'No available send transport' });
|
|
147
147
|
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
@@ -155,7 +155,7 @@ class Network {
|
|
|
155
155
|
|
|
156
156
|
closeReceiveTransport(): void {
|
|
157
157
|
if (!this.receiveTransport) {
|
|
158
|
-
this.#logger.
|
|
158
|
+
this.#logger.debug('closeReceiveTransport()', { message: 'No available receive transport' });
|
|
159
159
|
|
|
160
160
|
return;
|
|
161
161
|
}
|
|
@@ -167,7 +167,7 @@ class Network {
|
|
|
167
167
|
|
|
168
168
|
closeConnectionTransport(): void {
|
|
169
169
|
if (!this.signalingTransport) {
|
|
170
|
-
this.#logger.
|
|
170
|
+
this.#logger.debug('closeConnectionTransport()', { message: 'No available connection transport' });
|
|
171
171
|
|
|
172
172
|
return;
|
|
173
173
|
}
|