@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/LICENSE.md CHANGED
@@ -1,3 +1,3 @@
1
1
  Copyright (c) 2022 Cisco Systems, Inc. and/or its affiliated entities.
2
2
 
3
- Your use of the Web Client Media Engine is subject to the Cisco End User License Agreement located at: https://www.cisco.com/c/dam/en_us/about/doing_business/legal/eula/cisco_end_user_license_agreement-eng.pdf
3
+ Your use of the web-client-media-engine (WCME) is subject to the Cisco End User License Agreement located at: https://www.cisco.com/c/dam/en_us/about/doing_business/legal/eula/cisco_end_user_license_agreement-eng.pdf
package/dist/cjs/index.js CHANGED
@@ -1154,7 +1154,12 @@ class LocalTrack extends EventEmitter$2 {
1154
1154
  * Cleanup local microphone track.
1155
1155
  */
1156
1156
  disposeEffects() {
1157
- this.effects.forEach((effect) => effect.dispose());
1157
+ if (this.effects.size > 0) {
1158
+ this.effects.forEach((effect) => effect.dispose());
1159
+ this.effects.clear();
1160
+ this.underlyingStream = this.originalStream;
1161
+ this.emit(exports.LocalTrackEvents.UnderlyingTrackChange);
1162
+ }
1158
1163
  }
1159
1164
  }
1160
1165
  LocalTrack.Events = exports.LocalTrackEvents;
@@ -9424,7 +9429,7 @@ exports.MultistreamConnectionEventNames = void 0;
9424
9429
  const defaultMultistreamConnectionOptions = {
9425
9430
  floorControlledPresentation: false,
9426
9431
  disableSimulcast: false,
9427
- streamSignalingMode: 'MID-RID',
9432
+ streamSignalingMode: 'SSRC',
9428
9433
  bundlePolicy: 'compat',
9429
9434
  };
9430
9435
  class MultistreamConnection extends EventEmitter {
@@ -9587,11 +9592,11 @@ class MultistreamConnection extends EventEmitter {
9587
9592
  });
9588
9593
  }
9589
9594
  else {
9590
- logger.warn(`Unable to get encoding index for stream ID: ${JSON.stringify(id)}`);
9595
+ logger.warn(`${mediaType}: Unable to get encoding index for stream ID: ${JSON.stringify(id)}`);
9591
9596
  }
9592
9597
  }
9593
9598
  else {
9594
- logger.warn(`Unable to find matching stream ID for requested ID: ${JSON.stringify(id)}`);
9599
+ logger.warn(`${mediaType}: Unable to find matching stream ID for requested ID: ${JSON.stringify(id)}`);
9595
9600
  }
9596
9601
  });
9597
9602
  sendTransceiver.setTrackRequested(requestedIdEncodingParamsMap.size > 0);