I am building a project in React Native, where two users communicate via
mediasoup. I am using
socket.io to make a room to allow two people in the same room can talk to each other. If a user leaves the room by clicking a
end-call button, the mediasoup server recognizes the
dtlsstatechange. However, if a user leaves the room by forcefully quitting the app, the server does not recognize any change in the events.
Do you have any ideas why that is? And would there be a way for me to check if someone has “destroyed” the connection built using
mediasoup?None of the events like
dtlsstatechange in the
mediasoup server fire if someone force-quits the app.