@webex/web-client-media-engine 1.34.0 → 1.34.2

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/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.forEach((effect) => effect.dispose());
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;
@@ -9420,7 +9425,7 @@ var MultistreamConnectionEventNames;
9420
9425
  const defaultMultistreamConnectionOptions = {
9421
9426
  floorControlledPresentation: false,
9422
9427
  disableSimulcast: false,
9423
- streamSignalingMode: 'MID-RID',
9428
+ streamSignalingMode: 'SSRC',
9424
9429
  bundlePolicy: 'compat',
9425
9430
  };
9426
9431
  class MultistreamConnection extends EventEmitter {
@@ -9583,11 +9588,11 @@ class MultistreamConnection extends EventEmitter {
9583
9588
  });
9584
9589
  }
9585
9590
  else {
9586
- logger.warn(`Unable to get encoding index for stream ID: ${JSON.stringify(id)}`);
9591
+ logger.warn(`${mediaType}: Unable to get encoding index for stream ID: ${JSON.stringify(id)}`);
9587
9592
  }
9588
9593
  }
9589
9594
  else {
9590
- logger.warn(`Unable to find matching stream ID for requested ID: ${JSON.stringify(id)}`);
9595
+ logger.warn(`${mediaType}: Unable to find matching stream ID for requested ID: ${JSON.stringify(id)}`);
9591
9596
  }
9592
9597
  });
9593
9598
  sendTransceiver.setTrackRequested(requestedIdEncodingParamsMap.size > 0);