@webex/web-client-media-engine 3.22.5 → 3.23.1

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
@@ -14782,6 +14782,7 @@ var MultistreamConnectionEventNames;
14782
14782
  MultistreamConnectionEventNames["CreateAnswerOnSuccess"] = "createansweronsuccess";
14783
14783
  MultistreamConnectionEventNames["SetLocalDescriptionOnSuccess"] = "setlocaldescriptiononsuccess";
14784
14784
  MultistreamConnectionEventNames["SetRemoteDescriptionOnSuccess"] = "setremotedescriptiononsuccess";
14785
+ MultistreamConnectionEventNames["IceCandidate"] = "icecandidate";
14785
14786
  MultistreamConnectionEventNames["IceCandidateError"] = "icecandidateerror";
14786
14787
  })(MultistreamConnectionEventNames || (MultistreamConnectionEventNames = {}));
14787
14788
  const defaultMultistreamConnectionOptions = {
@@ -14852,6 +14853,9 @@ class MultistreamConnection extends EventEmitter$2 {
14852
14853
  this.pc.on(PeerConnection.Events.IceGatheringStateChange, () => {
14853
14854
  this.emit(MultistreamConnectionEventNames.IceGatheringStateUpdate, this.getIceGatheringState());
14854
14855
  });
14856
+ this.pc.on(PeerConnection.Events.IceCandidate, (candidate) => {
14857
+ this.emit(MultistreamConnectionEventNames.IceCandidate, candidate);
14858
+ });
14855
14859
  this.pc.on(PeerConnection.Events.IceCandidateError, (error) => {
14856
14860
  this.emit(MultistreamConnectionEventNames.IceCandidateError, error);
14857
14861
  });