@webex/calling 3.3.1-next.21 → 3.3.1-next.23

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.
@@ -1,4 +1,4 @@
1
- import { Event, LocalStreamEventNames, RoapMediaConnection, } from '@webex/internal-media-core';
1
+ import { MediaConnectionEventNames, LocalStreamEventNames, RoapMediaConnection, } from '@webex/internal-media-core';
2
2
  import { createMachine, interpret } from 'xstate';
3
3
  import { v4 as uuid } from 'uuid';
4
4
  import { EffectEvent } from '@webex/web-media-effects';
@@ -1509,7 +1509,7 @@ export class Call extends Eventing {
1509
1509
  return lines.join('\r\n');
1510
1510
  }
1511
1511
  mediaRoapEventsListener() {
1512
- this.mediaConnection.on(Event.ROAP_MESSAGE_TO_SEND, async (event) => {
1512
+ this.mediaConnection.on(MediaConnectionEventNames.ROAP_MESSAGE_TO_SEND, async (event) => {
1513
1513
  log.info(`ROAP message to send (rcv from MEDIA-SDK) :
1514
1514
  \n type: ${event.roapMessage?.messageType}, seq: ${event.roapMessage.seq} , version: ${event.roapMessage.version}`, {});
1515
1515
  log.info(`SDP message to send : \n ${event.roapMessage?.sdp}`, {
@@ -1551,7 +1551,7 @@ export class Call extends Eventing {
1551
1551
  });
1552
1552
  }
1553
1553
  mediaTrackListener() {
1554
- this.mediaConnection.on(Event.REMOTE_TRACK_ADDED, (e) => {
1554
+ this.mediaConnection.on(MediaConnectionEventNames.REMOTE_TRACK_ADDED, (e) => {
1555
1555
  if (e.type === MEDIA_CONNECTION_EVENT_KEYS.MEDIA_TYPE_AUDIO) {
1556
1556
  this.emit(CALL_EVENT_KEYS.REMOTE_MEDIA, e.track);
1557
1557
  }
package/package.json CHANGED
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@types/platform": "1.3.4",
40
- "@webex/internal-media-core": "2.7.4",
41
- "@webex/media-helpers": "3.3.1-next.16",
40
+ "@webex/internal-media-core": "2.9.0",
41
+ "@webex/media-helpers": "3.3.1-next.18",
42
42
  "async-mutex": "0.4.0",
43
43
  "buffer": "6.0.3",
44
44
  "jest-html-reporters": "3.0.11",
@@ -129,5 +129,5 @@
129
129
  "staticpath": "docs",
130
130
  "noprompt": true
131
131
  },
132
- "version": "3.3.1-next.21"
132
+ "version": "3.3.1-next.23"
133
133
  }