@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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@livedigital/client",
3
3
  "author": "vlprojects",
4
4
  "license": "MIT",
5
- "version": "3.44.1",
5
+ "version": "3.44.3",
6
6
  "private": false,
7
7
  "bugs": {
8
8
  "url": "https://github.com/vlprojects/livedigital-sdk/issues"
@@ -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.rejoinRequested && !this.state.isChannelJoining) {
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.warn('closeSendTransport()', { message: 'No available send transport' });
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.warn('closeReceiveTransport()', { message: 'No available receive transport' });
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.warn('closeConnectionTransport()', { message: 'No available connection transport' });
170
+ this.#logger.debug('closeConnectionTransport()', { message: 'No available connection transport' });
171
171
 
172
172
  return;
173
173
  }