@livedigital/client 2.37.1 → 2.38.0-debug-noise.1
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
|
@@ -341,7 +341,7 @@ class BaseTrack {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
this.setProducer(producer);
|
|
344
|
-
this.checkProducerState();
|
|
344
|
+
// this.checkProducerState();
|
|
345
345
|
|
|
346
346
|
if (this.kind === 'video') {
|
|
347
347
|
await producer.setMaxSpatialLayer(maxSpatialLayer);
|
|
@@ -367,7 +367,7 @@ class BaseTrack {
|
|
|
367
367
|
return;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
await this.cancelProducerCheckState();
|
|
370
|
+
// await this.cancelProducerCheckState();
|
|
371
371
|
await this.closeProducer();
|
|
372
372
|
this.#mediaStreamTrack.stop();
|
|
373
373
|
this.clientEventEmitter.emit(INTERNAL_CLIENT_EVENTS.trackUnproduced, this);
|
|
@@ -396,7 +396,7 @@ class BaseTrack {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
try {
|
|
399
|
-
await this.cancelProducerCheckState();
|
|
399
|
+
// await this.cancelProducerCheckState();
|
|
400
400
|
await this.pauseRemoteProducer(this.producer.id);
|
|
401
401
|
this.producer.pause();
|
|
402
402
|
this.logger.debug('pause()', { track: this });
|
|
@@ -107,7 +107,7 @@ class PeerTrack {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
await this.closeConsumer();
|
|
110
|
-
this.clearCheckStateTimeout();
|
|
110
|
+
// this.clearCheckStateTimeout();
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
public async mute(): Promise<void> {
|
|
@@ -185,7 +185,7 @@ class PeerTrack {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
this.consumer.resume();
|
|
188
|
-
this.checkConsumerState();
|
|
188
|
+
// this.checkConsumerState();
|
|
189
189
|
this.#logger.debug('resumeConsumer()', { track: this, peer: this });
|
|
190
190
|
} catch (error) {
|
|
191
191
|
this.#logger.warn('resumeConsumer()', { error });
|
|
@@ -198,7 +198,7 @@ class PeerTrack {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
try {
|
|
201
|
-
this.clearCheckStateTimeout();
|
|
201
|
+
// this.clearCheckStateTimeout();
|
|
202
202
|
if (pauseRemote) {
|
|
203
203
|
await this.#engine.network.pauseRemoteConsumer(this.consumer.id);
|
|
204
204
|
}
|