This message was deleted.
# helpdesk
s
This message was deleted.
m
cc @freezing-lifeguard-43174
f
we added ping/pong, and the server should notify other participants after the pion/pong times out. https://github.com/livekit/livekit/blob/master/pkg/rtc/room.go#L774-L775 https://github.com/livekit/client-sdk-flutter/pull/157
The default ping timeout is 20 s
I tested that killing the app can receive the ws disconnection notification on the server side, but we did not notify the participants to remove the invalid client. This should be the time reserved for reconnection, am I right? @dry-elephant-14928
d
The server would detect the disconnection typically in 15-20s. Are you seeing that this takes longer?
I think the ideal thing is when the application is exiting, you should capture that event and call
Room.disconnect
f
Sorry for my inaccurate expression, yes, the service will notify other clients in about 20-30 seconds, when the app is killed, the server receives ws disconnection, but the server will not remove the client immediately.
f
So it's in the server implementation and there is no way that I could modify the timeout? If an API through which I could modify it, it would be the best.