@webex/web-client-media-engine 3.11.2 → 3.11.3

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
@@ -14539,8 +14539,8 @@ class MultistreamConnection extends EventEmitter$2 {
14539
14539
  ordered: false,
14540
14540
  maxRetransmits: 0,
14541
14541
  });
14542
- dataChannel.onopen = (e) => {
14543
- logger.info('DataChannel opened: ', e);
14542
+ dataChannel.onopen = (event) => {
14543
+ logger.info('DataChannel opened:', JSON.stringify(event));
14544
14544
  [...this.sendTransceivers.keys()].forEach((mediaType) => {
14545
14545
  this.sendSourceAdvertisement(mediaType);
14546
14546
  });
@@ -14576,11 +14576,11 @@ class MultistreamConnection extends EventEmitter$2 {
14576
14576
  }
14577
14577
  jmpSession.receive(jmpMsg);
14578
14578
  };
14579
- dataChannel.onclose = (e) => {
14580
- logger.info('DataChannel closed: ', e);
14579
+ dataChannel.onclose = (event) => {
14580
+ logger.info('DataChannel closed:', JSON.stringify(event));
14581
14581
  };
14582
- dataChannel.onerror = (e) => {
14583
- logger.info('DataChannel error: ', e);
14582
+ dataChannel.onerror = (event) => {
14583
+ logger.info('DataChannel error:', JSON.stringify(event));
14584
14584
  };
14585
14585
  this.dataChannel = dataChannel;
14586
14586
  }
package/dist/esm/index.js CHANGED
@@ -14535,8 +14535,8 @@ class MultistreamConnection extends EventEmitter$2 {
14535
14535
  ordered: false,
14536
14536
  maxRetransmits: 0,
14537
14537
  });
14538
- dataChannel.onopen = (e) => {
14539
- logger.info('DataChannel opened: ', e);
14538
+ dataChannel.onopen = (event) => {
14539
+ logger.info('DataChannel opened:', JSON.stringify(event));
14540
14540
  [...this.sendTransceivers.keys()].forEach((mediaType) => {
14541
14541
  this.sendSourceAdvertisement(mediaType);
14542
14542
  });
@@ -14572,11 +14572,11 @@ class MultistreamConnection extends EventEmitter$2 {
14572
14572
  }
14573
14573
  jmpSession.receive(jmpMsg);
14574
14574
  };
14575
- dataChannel.onclose = (e) => {
14576
- logger.info('DataChannel closed: ', e);
14575
+ dataChannel.onclose = (event) => {
14576
+ logger.info('DataChannel closed:', JSON.stringify(event));
14577
14577
  };
14578
- dataChannel.onerror = (e) => {
14579
- logger.info('DataChannel error: ', e);
14578
+ dataChannel.onerror = (event) => {
14579
+ logger.info('DataChannel error:', JSON.stringify(event));
14580
14580
  };
14581
14581
  this.dataChannel = dataChannel;
14582
14582
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/web-client-media-engine",
3
- "version": "3.11.2",
3
+ "version": "3.11.3",
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",