@webex/web-client-media-engine 3.15.3 → 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
@@ -1417,6 +1417,7 @@ class _LocalStream extends Stream {
1417
1417
  stop() {
1418
1418
  this.inputTrack.stop();
1419
1419
  this.outputTrack.stop();
1420
+ this.disposeEffects();
1420
1421
  // calling stop() will not automatically emit Ended, so we emit it here
1421
1422
  this[exports.StreamEventNames.Ended].emit();
1422
1423
  }
@@ -5822,6 +5823,7 @@ exports.MediaStreamTrackKind = void 0;
5822
5823
  var PeerConnectionEvents;
5823
5824
  (function (PeerConnectionEvents) {
5824
5825
  PeerConnectionEvents["IceGatheringStateChange"] = "icegatheringstatechange";
5826
+ PeerConnectionEvents["IceCandidate"] = "icecandidate";
5825
5827
  PeerConnectionEvents["ConnectionStateChange"] = "connectionstatechange";
5826
5828
  PeerConnectionEvents["CreateOfferOnSuccess"] = "createofferonsuccess";
5827
5829
  PeerConnectionEvents["CreateAnswerOnSuccess"] = "createansweronsuccess";
@@ -5860,6 +5862,9 @@ class PeerConnection extends EventEmitter$4 {
5860
5862
  this.pc.onicegatheringstatechange = (ev) => {
5861
5863
  this.emit(PeerConnection.Events.IceGatheringStateChange, ev);
5862
5864
  };
5865
+ this.pc.onicecandidate = (ev) => {
5866
+ this.emit(PeerConnection.Events.IceCandidate, ev);
5867
+ };
5863
5868
  }
5864
5869
  /**
5865
5870
  * Get the underlying RTCPeerConnection.