@webex/web-client-media-engine 3.15.4 → 3.15.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/esm/index.js CHANGED
@@ -5819,6 +5819,7 @@ var MediaStreamTrackKind;
5819
5819
  var PeerConnectionEvents;
5820
5820
  (function (PeerConnectionEvents) {
5821
5821
  PeerConnectionEvents["IceGatheringStateChange"] = "icegatheringstatechange";
5822
+ PeerConnectionEvents["IceCandidate"] = "icecandidate";
5822
5823
  PeerConnectionEvents["ConnectionStateChange"] = "connectionstatechange";
5823
5824
  PeerConnectionEvents["CreateOfferOnSuccess"] = "createofferonsuccess";
5824
5825
  PeerConnectionEvents["CreateAnswerOnSuccess"] = "createansweronsuccess";
@@ -5857,6 +5858,9 @@ class PeerConnection extends EventEmitter$4 {
5857
5858
  this.pc.onicegatheringstatechange = (ev) => {
5858
5859
  this.emit(PeerConnection.Events.IceGatheringStateChange, ev);
5859
5860
  };
5861
+ this.pc.onicecandidate = (ev) => {
5862
+ this.emit(PeerConnection.Events.IceCandidate, ev);
5863
+ };
5860
5864
  }
5861
5865
  /**
5862
5866
  * Get the underlying RTCPeerConnection.