Event user left


I use the prosody sepakers module to detect events on the room like user join and user left, I noticed if the user loses the connection I can’t get the event despite.
Is there any idea how to know this?

Is there any other case where you can get the event of the user leave the room for other reasons? Please tell me what are the raisions and how I can detect them

thanks for your help

If it looses connection after a minute or so, because of lack of communication that participant will leave the conference and the speaker module will detect that.

Not sure that you can distinguish whether leave was because of timeout or not … that needs digging into prosody code.