Hi <@U08CKJH7C12>, two queries. 1. during one of o...
# server-api
l
Hi @refined-appointment-81829, two queries. 1. during one of our runs, even though we are subscribed to room, participant and track events it did not get fired, It has happened only once, is there a way to see the list of events fired for a particular interaction, apart from livekit dashboard. 2. When we get connection quality 0 or 3, how should we ideally handle it, will livekit automatically try to reconnect?, if yes and reconnection fails fully, what would be the behaviour in agent sdk and server sdk.
r
1: I am not aware of a way to do that. Would WebHooks give you what you need if you stored them? 2: Handling Connection Quality: When you receive a connection quality of
0
(
very poor
) or
3
(
good
), LiveKit does attempt to handle reconnections automatically. If the connection quality drops, the SDK will try to reconnect to the signaling WebSocket and initiate an ICE restart for the WebRTC connection. This process is designed to minimize disruption for the user, as mentioned in the documentation. If reconnection fails, the behavior can vary depending on the SDK you are using (Agent SDK or Server SDK). Generally, if the reconnection fails completely, you may receive a
Disconnected
event, and the participant will be removed from the room after a timeout period. You can handle this by listening for the
RoomEvent.Disconnected
event and implementing any necessary cleanup or user notifications.