@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/cjs/index.js CHANGED
@@ -14786,6 +14786,7 @@ exports.MultistreamConnectionEventNames = void 0;
14786
14786
  MultistreamConnectionEventNames["CreateAnswerOnSuccess"] = "createansweronsuccess";
14787
14787
  MultistreamConnectionEventNames["SetLocalDescriptionOnSuccess"] = "setlocaldescriptiononsuccess";
14788
14788
  MultistreamConnectionEventNames["SetRemoteDescriptionOnSuccess"] = "setremotedescriptiononsuccess";
14789
+ MultistreamConnectionEventNames["IceCandidate"] = "icecandidate";
14789
14790
  MultistreamConnectionEventNames["IceCandidateError"] = "icecandidateerror";
14790
14791
  })(exports.MultistreamConnectionEventNames || (exports.MultistreamConnectionEventNames = {}));
14791
14792
  const defaultMultistreamConnectionOptions = {
@@ -14856,6 +14857,9 @@ class MultistreamConnection extends EventEmitter$2 {
14856
14857
  this.pc.on(PeerConnection.Events.IceGatheringStateChange, () => {
14857
14858
  this.emit(exports.MultistreamConnectionEventNames.IceGatheringStateUpdate, this.getIceGatheringState());
14858
14859
  });
14860
+ this.pc.on(PeerConnection.Events.IceCandidate, (candidate) => {
14861
+ this.emit(exports.MultistreamConnectionEventNames.IceCandidate, candidate);
14862
+ });
14859
14863
  this.pc.on(PeerConnection.Events.IceCandidateError, (error) => {
14860
14864
  this.emit(exports.MultistreamConnectionEventNames.IceCandidateError, error);
14861
14865
  });