versatica / mediasoup

Cutting Edge WebRTC Video Conferencing
https://mediasoup.org
ISC License
6.18k stars 1.12k forks source link

Revert PR #1156 "Make DTLS fragment stay within MTU size range" because it causes a memory leak #1342

Closed ibc closed 7 months ago

ibc commented 7 months ago

Details

As perfectly documented in issue #1340, there is a leak due to the usage of BIO_set_callback_ex() whose fix is unclear and, anyway, I'm pretty sure that the usage of that OpenSSL utility makes the performance worse.

As a workaround for issue #1100 (which now must be reopened), in order to avoid "DTLS fragment exceeds MTU size if the certificate is large", users should not pass a big DTLS certificate to mediasoup.