@webex/web-client-media-engine 1.34.0 → 1.34.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/LICENSE.md +1 -1
- package/dist/cjs/index.js +6 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
- package/README.md +0 -184
package/dist/esm/index.js
CHANGED
|
@@ -1150,7 +1150,12 @@ class LocalTrack extends EventEmitter$2 {
|
|
|
1150
1150
|
* Cleanup local microphone track.
|
|
1151
1151
|
*/
|
|
1152
1152
|
disposeEffects() {
|
|
1153
|
-
this.effects.
|
|
1153
|
+
if (this.effects.size > 0) {
|
|
1154
|
+
this.effects.forEach((effect) => effect.dispose());
|
|
1155
|
+
this.effects.clear();
|
|
1156
|
+
this.underlyingStream = this.originalStream;
|
|
1157
|
+
this.emit(LocalTrackEvents.UnderlyingTrackChange);
|
|
1158
|
+
}
|
|
1154
1159
|
}
|
|
1155
1160
|
}
|
|
1156
1161
|
LocalTrack.Events = LocalTrackEvents;
|