@webex/web-client-media-engine 2.1.0 → 2.1.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/cjs/index.js CHANGED
@@ -9432,7 +9432,8 @@ class SsrcIngressStreamSignaler {
9432
9432
  getReceiverId() {
9433
9433
  return Object.assign({ ssrc: this.ssrc }, (this.rtxSsrc ? { rtxSsrc: this.rtxSsrc } : {}));
9434
9434
  }
9435
- signalLocalStreams(_mLine) {
9435
+ signalLocalStreams(mLine) {
9436
+ mLine.extMaps = mLine.extMaps.filter((extMapLine) => !/^urn:ietf:params:rtp-hdrext:sdes:(?:mid|rtp-stream-id|repaired-rtp-stream-id)$/.test(extMapLine.uri));
9436
9437
  }
9437
9438
  signalRemoteStreams(mLine) {
9438
9439
  mLine.addLine(new SsrcLine(this.ssrc, 'cname', `${this.ssrc}-cname`));
@@ -13546,13 +13547,10 @@ class MultistreamConnection extends EventEmitter {
13546
13547
  track.off(LocalTrack.Events.Muted, onTrackMute);
13547
13548
  track.off(LocalTrack.Events.PublishedStateUpdate, onTrackPublish);
13548
13549
  track.off(LocalTrack.Events.TrackConstraintsChange, onTrackResolutionChange);
13549
- if (!track.muted) {
13550
- this.sendSourceAdvertisement(mediaType);
13551
- this.sendMediaRequestStatus(mediaType);
13552
- }
13553
13550
  }
13554
- else if (!track.muted) {
13551
+ if (!track.muted) {
13555
13552
  this.sendSourceAdvertisement(mediaType);
13553
+ this.sendMediaRequestStatus(mediaType);
13556
13554
  }
13557
13555
  };
13558
13556
  track.on(LocalTrack.Events.PublishedStateUpdate, onTrackPublish);