# mediasoup-client 3.6.98 released with ICE gathering API

**URL:** <https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358>\
**Category:** Announcements\
**Created:** [July 17, 2023, 10:36am UTC](https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358 "2023-07-17T10:36:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [July 17, 2023, 10:36am UTC](https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358/1 "2023-07-17T10:36:36Z")

</div>

mediasoup-client 3.6.98 has been released. It comes with ICE gathering API:

- [transport.iceGatheringState](https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-iceGatheringState)
- [transport.on(“icegatheringstatechange”](https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-on-icegatheringstatechange)
- Related PR: [Expose ICE gathering state and state change event by ibc · Pull Request #276 · versatica/mediasoup-client · GitHub](https://github.com/versatica/mediasoup-client/pull/276)
- Related issue: [Detecting ICE connection that will never connect · Issue #253 · versatica/mediasoup-client · GitHub](https://github.com/versatica/mediasoup-client/issues/253)

---

<div class="post-metadata">

**Author:** ![BronzedBroth](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@BronzedBroth](https://mediasoup.discourse.group/u/BronzedBroth)\
**Post date:** [July 17, 2023, 10:23pm UTC](https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358/2 "2023-07-17T22:23:27Z")

</div>

I blindly want to understand what this means (for other users sake), could you summarize at all what this fixes? Appreciate the work!

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [July 17, 2023, 10:28pm UTC](https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358/3 "2023-07-17T22:28:37Z")

</div>

Read the related issue above, please.

---

<div class="post-metadata">

**Author:** ![BronzedBroth](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@BronzedBroth](https://mediasoup.discourse.group/u/BronzedBroth)\
**Post date:** [July 18, 2023, 11:47pm UTC](https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358/4 "2023-07-18T23:47:48Z")

</div>

I just would like to see summaries of what this does for us, as this can be googled and helps people out of context. Please consider, I know it’s annoying but it helps with the quick searches and SEO.

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [July 19, 2023, 1:13am UTC](https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358/5 "2023-07-19T01:13:19Z")

</div>

I cannot describe it better than the original issue does:

### Problem

Under normal circumstances, in case of connection issues, the ICE connection should eventually fail. `connectionstatechange` event will fire, and the application will have the opportunity to do something with it.

However, if all ICE candidates error during the gathering, the connection will forever stay in a `new` state and `connectionstatechange`event will never fire.

### Solution

Expose ICE gathering state and state change event so, if ICE connection fails and ICE gathering state remains in “new” state it means that the problem was lack of working local ICE candidates.

---

<div class="post-metadata">

**Author:** ![BronzedBroth](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@BronzedBroth](https://mediasoup.discourse.group/u/BronzedBroth)\
**Post date:** [July 19, 2023, 1:22am UTC](https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358/6 "2023-07-19T01:22:33Z")

</div>

Thank you, @ibc. Summary helps a lot with SEO. Helps with much more but hopefully you get the point. Have a great one.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mediasoup/original/2X/b/b318c4d3397e65af9535f79c605b80b9ceb066c8.png) [@system](https://mediasoup.discourse.group/u/system)\
**Post date:** [July 19, 2023, 10:37am UTC](https://mediasoup.discourse.group/t/mediasoup-client-3-6-98-released-with-ice-gathering-api/5358/7 "2023-07-19T10:37:32Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
