@webex/web-client-media-engine 2.1.6 → 2.1.8

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
@@ -12994,9 +12994,7 @@ class MultistreamConnection extends EventEmitter {
12994
12994
  if (!track.muted) {
12995
12995
  this.sendSourceAdvertisement(mediaType);
12996
12996
  this.sendMediaRequestStatus(mediaType);
12997
- if (mediaType === MediaType.VideoMain) {
12998
- sendTransceiver.updateSendParameters(this.requestedIdEncodingParamsMap);
12999
- }
12997
+ sendTransceiver.updateSendParameters(this.requestedIdEncodingParamsMap);
13000
12998
  }
13001
12999
  };
13002
13000
  track.on(LocalTrack.Events.PublishedStateUpdate, onTrackPublish);
@@ -13106,7 +13104,9 @@ class MultistreamConnection extends EventEmitter {
13106
13104
  if (!this.setAnswerResolve) {
13107
13105
  throw new Error(`Call to setAnswer without having previously called createOffer`);
13108
13106
  }
13107
+ logger.info('calling this.pc.setRemoteDescription()');
13109
13108
  return this.pc.setRemoteDescription({ type: 'answer', sdp }).then(() => __awaiter(this, void 0, void 0, function* () {
13109
+ logger.info('this.pc.setRemoteDescription() resolved');
13110
13110
  if (this.setAnswerResolve) {
13111
13111
  this.setAnswerResolve();
13112
13112
  this.setAnswerResolve = undefined;
package/dist/esm/index.js CHANGED
@@ -12990,9 +12990,7 @@ class MultistreamConnection extends EventEmitter {
12990
12990
  if (!track.muted) {
12991
12991
  this.sendSourceAdvertisement(mediaType);
12992
12992
  this.sendMediaRequestStatus(mediaType);
12993
- if (mediaType === MediaType.VideoMain) {
12994
- sendTransceiver.updateSendParameters(this.requestedIdEncodingParamsMap);
12995
- }
12993
+ sendTransceiver.updateSendParameters(this.requestedIdEncodingParamsMap);
12996
12994
  }
12997
12995
  };
12998
12996
  track.on(LocalTrack.Events.PublishedStateUpdate, onTrackPublish);
@@ -13102,7 +13100,9 @@ class MultistreamConnection extends EventEmitter {
13102
13100
  if (!this.setAnswerResolve) {
13103
13101
  throw new Error(`Call to setAnswer without having previously called createOffer`);
13104
13102
  }
13103
+ logger.info('calling this.pc.setRemoteDescription()');
13105
13104
  return this.pc.setRemoteDescription({ type: 'answer', sdp }).then(() => __awaiter(this, void 0, void 0, function* () {
13105
+ logger.info('this.pc.setRemoteDescription() resolved');
13106
13106
  if (this.setAnswerResolve) {
13107
13107
  this.setAnswerResolve();
13108
13108
  this.setAnswerResolve = undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/web-client-media-engine",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "Web Client Media Engine is common web code for interacting with the multistream media server.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/cjs/index.js",