@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/cjs/index.js CHANGED
@@ -5823,6 +5823,7 @@ exports.MediaStreamTrackKind = void 0;
5823
5823
  var PeerConnectionEvents;
5824
5824
  (function (PeerConnectionEvents) {
5825
5825
  PeerConnectionEvents["IceGatheringStateChange"] = "icegatheringstatechange";
5826
+ PeerConnectionEvents["IceCandidate"] = "icecandidate";
5826
5827
  PeerConnectionEvents["ConnectionStateChange"] = "connectionstatechange";
5827
5828
  PeerConnectionEvents["CreateOfferOnSuccess"] = "createofferonsuccess";
5828
5829
  PeerConnectionEvents["CreateAnswerOnSuccess"] = "createansweronsuccess";
@@ -5861,6 +5862,9 @@ class PeerConnection extends EventEmitter$4 {
5861
5862
  this.pc.onicegatheringstatechange = (ev) => {
5862
5863
  this.emit(PeerConnection.Events.IceGatheringStateChange, ev);
5863
5864
  };
5865
+ this.pc.onicecandidate = (ev) => {
5866
+ this.emit(PeerConnection.Events.IceCandidate, ev);
5867
+ };
5864
5868
  }
5865
5869
  /**
5866
5870
  * Get the underlying RTCPeerConnection.