Hey
@refined-appointment-81829 thank you for your attention,
Yes of course here is a link to a session that did not work:
https://cloud.livekit.io/projects/p_2h1bchh42rd/sessions/RM_VTPMCDyGKkt8
And here is a link to a session that did work:
https://cloud.livekit.io/projects/p_2h1bchh42rd/sessions/RM_6aLCxPseneNv
A pattern I noticed that might be irrelevant, is that on sessions that succeded the participent joining event is recorded before the agent joining event. and in session where the issue happened the agent joined first.
With that pattern in mind I tried making the agent dispatch always after the user connects using the agent dispatch config while creating the token. I coundnt make it work, so i paused following this route because I wasnt even sure this was the problem.
I think my next step will be trying to deploy the agent on Render and see if it presists, will update.