@webex/web-client-media-engine 1.37.3 → 1.37.5

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
@@ -9581,7 +9581,7 @@ exports.MultistreamConnectionEventNames = void 0;
9581
9581
  })(exports.MultistreamConnectionEventNames || (exports.MultistreamConnectionEventNames = {}));
9582
9582
  const defaultMultistreamConnectionOptions = {
9583
9583
  floorControlledPresentation: false,
9584
- disableSimulcast: false,
9584
+ disableSimulcast: getBrowserDetails().name === 'Firefox',
9585
9585
  streamSignalingMode: 'SSRC',
9586
9586
  bundlePolicy: 'max-compat',
9587
9587
  iceServers: undefined,
@@ -9649,10 +9649,17 @@ class MultistreamConnection extends EventEmitter {
9649
9649
  : [{ active: false }];
9650
9650
  }
9651
9651
  createSendTransceiver(mediaType, sceneId, sendEncodingsOptions) {
9652
- const rtcTransceiver = this.pc.addTransceiver(toMediaStreamTrackKind(mediaType), {
9653
- direction: 'sendrecv',
9654
- sendEncodings: sendEncodingsOptions,
9655
- });
9652
+ let rtcTransceiver;
9653
+ try {
9654
+ rtcTransceiver = this.pc.addTransceiver(toMediaStreamTrackKind(mediaType), {
9655
+ direction: 'sendrecv',
9656
+ sendEncodings: sendEncodingsOptions,
9657
+ });
9658
+ }
9659
+ catch (e) {
9660
+ logger.error(`addTransceiver failed due to : ${e}`);
9661
+ throw e;
9662
+ }
9656
9663
  this.addMid(mediaType);
9657
9664
  const csi = generateCsi(getMediaFamily(mediaType), sceneId);
9658
9665
  this.sendTransceivers.set(mediaType, new SendOnlyTransceiver(rtcTransceiver, csi));