Agent starts speaking earlier, in prejoin screen
Not sure if this is relevant to agents or components library, but let's say I have a command like await agent.say("
essentially what happen then, is when user joins the agent start speaking from middle of sentence (as it has already spoke first parts when user was in prejoin)
Any way to mitigate this?
on the prejoin screen, is your app connecting to a room?
the purpose of a prejoin screen is so that user could adjust settings before connecting to the room, so during that time no agent would be dispatched
essentially what happen then, is when user joins the agent start speaking from middle of sentence (as it has already spoke first parts when user was in prejoin)
Any way to mitigate this?
I believe the default scheduler activates whenever the first participant connects to the room. If you need a little more latency, you could always insert a sleep or wait for the client to send a message over a data channel before the agent.say call.