This message was deleted.
# helpdesk
s
This message was deleted.
d
That functionality is only within the server SDK
w
Alright, thank you! 🙌
It works beautifully! But it takes some time for the backend to actually recieve the webhook from livekit. Is there a way to make it instant? E.g, when an "organizer" of the room hit end call, everyone should disconnect and the room should be deleted from the livekit server. I believe I have stumbled upon some kind of timeout setting somewhere but I cant find it again. Merry Christmas btw 🥳
d
Merry christmas to you too! I believe all of the participants should be removed as soon as you call
DeleteRoom
. Is that not happening? could you describe the timeline of events as you saw it?
w
I'm on my phone right now but I believe the hold up is somewhere between our self host livekit server and our backend. I press a button on frontend, send a POST to our backend. Create a RoomServiceClient and call deleteRoom. Then I receive the webhook room_finished and send that to our frontend via websockets. However it feels like the step between deleteRoom and webhook takes time. But in your experience it should be instant? I added some timestamps for each function and as I suspected, closeRoom (our endpoint) and room_finished (webhook) takes 20 seconds. closeRoom: 2023-12-26 161816.847 room_finished: 2023-12-26 161836.528 sendRoomFinished: 2023-12-26 161836.542 Edit: My bad, we had a bottleneck in one of our functions. Your functions are lightning fast ;)
🙌 1