I have the following sequence of steps in my `entr...
# agents
l
I have the following sequence of steps in my
entrypoint
function: 1. Register callback with
@ctx.room.on("connected")
and
@ctx.room.on("participant_connected")
2. Call
await ctx.connect()
3. Call
participant = await ctx.wait_for_participant()
4. Create agent instance with a class inheriting from
Agent
5. Create session instance with
AgentSession
6. Register callbacks for session events 7. Register RPC methods 8. Call
await session.start(room=ctx.room, agent=agent)
Why are the callbacks associated with the event
@ctx.room.on("connected")
and `@ctx.room.on("participant_connected")`not executed? My assumption would be that the corresponding events are not triggered but why are they not triggered? How should I adjust my implementation to trigger them? I am using livekit_api version 1.0.7 and livekit_agents version 1.3.2. Livekit server is self hosted.