meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8.25k stars 2.48k forks source link

Add an extra reference to session for VideoRoom participants #3219

Closed lminiero closed 1 year ago

lminiero commented 1 year ago

This is a PR to address a different crash caused by a race condition, as reported in #3154.

tmatth commented 1 year ago

@lminiero does this need a backport?

lminiero commented 1 year ago

I'm not sure: this patch, and #3167 before it, was quite focused on how the multistream version of the VideoRoom plugin works. I'm not aware of similar issues in 0.x. That said, this is generic enough that it might make sense.