@livedigital/client 3.0.2 → 3.0.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
|
@@ -88,7 +88,10 @@ class DefaultAudioTrack extends DefaultBaseTrack implements AudioTrack {
|
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
if (this.isPublished) {
|
|
92
|
+
await this.replaceTrack(this.#originalTrack);
|
|
93
|
+
}
|
|
94
|
+
|
|
92
95
|
await this.#trackProcessor?.stopProcessing();
|
|
93
96
|
} catch (error) {
|
|
94
97
|
this.logger.warn('disableNoiseSuppression()', {
|
|
@@ -116,7 +116,10 @@ class DefaultVideoTrack extends DefaultBaseTrack implements VideoTrack {
|
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
if (this.isPublished) {
|
|
120
|
+
await this.replaceTrack(this.#originalTrack);
|
|
121
|
+
}
|
|
122
|
+
|
|
120
123
|
this.#trackProcessor.stopProcessing();
|
|
121
124
|
this.logger.info('disableBlur()', { track: this });
|
|
122
125
|
} catch (error) {
|