Closed lazeratops closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
daily-ai-assistant-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 5, 2023 5:52pm |
Makes sense. LGTM.
This PR:
Moves the aggressive presence check when the bot joins, as the presence is not currently reliable. Instead of earlying-out before starting any transcription or other operations if not enough users are in the call, we go ahead and start running everything and then begin a shutdown timer IF not enough people appear to be in the call. This gives call client state time to catch up
Adds handling for the bot being kicked out (for example, in case the room expires) instead of invoking
leave()
on its own. Adds accompanying handling for shutdown timers to avoid duplicate shutdown operations if the bot is both kicked out and calls leave.