@webex/web-client-media-engine 1.40.0 → 1.40.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/dist/esm/index.js CHANGED
@@ -8975,6 +8975,9 @@ function injectJmpAttributes(parsedSdp, csiMap, streamSignalingMode) {
8975
8975
  mLine.addLine(new JmpStreamIdModeLine(streamSignalingMode));
8976
8976
  }
8977
8977
  });
8978
+ }
8979
+ function hasSimulcast(av) {
8980
+ return !!av.simulcast || av.ssrcGroups.map((sg) => sg.semantics).some((sem) => sem === 'SIM');
8978
8981
  }
8979
8982
 
8980
8983
  class SendOnlyTransceiver extends Transceiver {
@@ -10207,7 +10210,7 @@ class MultistreamConnection extends EventEmitter {
10207
10210
  .filter((av) => av.direction === 'sendrecv')
10208
10211
  .forEach((av) => {
10209
10212
  const egressSignaler = this.streamSignalerManager.getOrCreateEgressStreamSignaler(av.mid);
10210
- const simulcastEnabled = !!av.simulcast;
10213
+ const simulcastEnabled = hasSimulcast(av);
10211
10214
  const rtxEnabled = av.type === 'video';
10212
10215
  egressSignaler.signalStreams(simulcastEnabled, rtxEnabled, av);
10213
10216
  const mediaType = [...this.sendTransceivers.keys()].find((key) => { var _a; return ((_a = this.sendTransceivers.get(key)) === null || _a === void 0 ? void 0 : _a.mid) === av.mid; });