Glimesh / janus-ftl-plugin

A plugin for the Janus WebRTC gateway to enable relaying of audio/video streams utilizing Mixer's FTL (Faster-Than-Light) protocol.
https://hayden.fyi/posts/2020-08-03-Faster-Than-Light-protocol-engineering-notes.html
GNU Affero General Public License v3.0
44 stars 11 forks source link

🔐 Add stopping lock to FtlClient #116

Closed danstiner closed 3 years ago

danstiner commented 3 years ago

We noticed last night that there is a race condition in FtlClient that can lead to a double close of a socket, for now protecting with a mutex following an identical pattern to what NetworkSocketConnectionTransport does.

Verified locally by refreshing a single viewer several times to stop/create new edge ftl clients.

Might help with #115