shinyoshiaki / werift-webrtc

WebRTC Implementation for TypeScript (Node.js), includes ICE/DTLS/SCTP/RTP/SRTP/WEBM/MP4
MIT License
463 stars 29 forks source link

Fix reconfig timeout leak #365

Closed LuKks closed 6 months ago

LuKks commented 6 months ago

Only the change in stop method is needed to avoid the leak. Just in case, I also made a change to setState method as it looks like it could also cancel it there but no idea

I almost didn't find this awesome library, thanks! Hidden gem

shinyoshiaki commented 6 months ago

thanks