# mediasoup 3.13.20 released with server side ICE consent check and a critical fix

**URL:** <https://mediasoup.discourse.group/t/mediasoup-3-13-20-released-with-server-side-ice-consent-check-and-a-critical-fix/5864>\
**Category:** Announcements\
**Created:** [February 20, 2024, 6:30pm UTC](https://mediasoup.discourse.group/t/mediasoup-3-13-20-released-with-server-side-ice-consent-check-and-a-critical-fix/5864 "2024-02-20T18:30:50Z")\
**Posts on this page:** 5\
**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:** [February 20, 2024, 6:30pm UTC](https://mediasoup.discourse.group/t/mediasoup-3-13-20-released-with-server-side-ice-consent-check-and-a-critical-fix/5864/1 "2024-02-20T18:30:50Z")

</div>

mediasoup 3.13.20 has been released and it comes with 2 important news:

### Server side ICE consent check system

Thanks to this new feature, mediasoup can now detect abrupt client disconnections (for instance, when client’s network goes down) by monitoring received ICE consent requests sent from the WebRTC client. After 30 seconds of inactivity, the `WebRtcTransport` will emit `icestatechange` event with `iceState: ‘disconnected’.

- PR: [Add server side ICE consent checks to detect silent WebRTC disconnection by ibc · Pull Request #1332 · versatica/mediasoup · GitHub](https://github.com/versatica/mediasoup/pull/1332)
- Documentation:
  - New `iceConsentTimeout` in `WebRtcTransportOptions`: [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#WebRtcTransportOptions)
  - Extended documentation about `icestatechange` event: [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#webRtcTransport-on-icestatechange)

### Fix regression (crash) in transport-cc feedback generation

Critical regression that causes reliable crashes was introduced in version 3.13.18 so please update.

- PR: [Fix regression (crash) in transport-cc feedback generation by ibc · Pull Request #1339 · versatica/mediasoup · GitHub](https://github.com/versatica/mediasoup/pull/1339)

---

<div class="post-metadata">

**Author:** ![mik](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@mik](https://mediasoup.discourse.group/u/mik)\
**Post date:** [February 20, 2024, 9:59pm UTC](https://mediasoup.discourse.group/t/mediasoup-3-13-20-released-with-server-side-ice-consent-check-and-a-critical-fix/5864/2 "2024-02-20T21:59:02Z")

</div>

Thanks a lot for this change, does icestatechange triggers when ice state is ‘new’? I mean if someone attempted to create a transport and left it by accident, then it will cause a port leak

---

<div class="post-metadata">

**Author:** ![mkh](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/mkh/32/145_2.png) [@mkh](https://mediasoup.discourse.group/u/mkh)\
**Post date:** [February 21, 2024, 2:51am UTC](https://mediasoup.discourse.group/t/mediasoup-3-13-20-released-with-server-side-ice-consent-check-and-a-critical-fix/5864/3 "2024-02-21T02:51:54Z")

</div>

Great feature!  
Thanks

---

<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:** [February 21, 2024, 3:58am UTC](https://mediasoup.discourse.group/t/mediasoup-3-13-20-released-with-server-side-ice-consent-check-and-a-critical-fix/5864/4 "2024-02-21T03:58:18Z")

</div>

> [@mik](#):
>
> if someone attempted to create a transport and left it by accident, then it will cause a port leak

Or if someone creates a Producer or a Router or whatever by accident and leaves it open. Of course it will leaks until the parent entity is closed.

---

<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:** [February 22, 2024, 6:30pm UTC](https://mediasoup.discourse.group/t/mediasoup-3-13-20-released-with-server-side-ice-consent-check-and-a-critical-fix/5864/5 "2024-02-22T18:30:51Z")

</div>

Closed on February 22, 2024, 6:30pm UTC

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