fishjam-dev / fishjam

General purpose media server. Supports WebRTC, HLS, RTSP, SIP
https://fishjam-dev.github.io/fishjam-docs/
Apache License 2.0
197 stars 10 forks source link

Properly remove component from state when crashed #152

Closed gfodor closed 6 months ago

gfodor commented 6 months ago

This PR updates the room genserver to properly remove a component entry when its endpoint crashes, and also incorporates the recent changes to introduce helper functions for this. The one thing I wasn't sure about is the fact that the track removeal events will go out in the case of a peer crash.

mickel8 commented 6 months ago

Awesome, thanks!