fishjam-dev / fishjam

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

Properly remove component from state when crashed #152

Closed gfodor closed 9 months ago

gfodor commented 9 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 9 months ago

Awesome, thanks!