Discussions

Ask a Question
Back to all

Livekit Plugin - No video until another participant joins

Hi,

I am using Livekit and the Liveavatar Livekit Avatar plugin.

My flow (without Avatar) is as follows:

  1. User joins room
  2. Agent is started
  3. Agent connects to room
  4. AgentSession is started
  5. User can talk to agent

This doesn't work when using the Liveavatar Plugin:

  1. User joins room
  2. Agent is started
  3. Agent connects to room
  4. AvatarSession and AgentSession are started
  5. LiveAvatar participant joins room
  6. Nothing happens - The LiveAvatar participant will not publish video until another participant joins the room.

Expected behaviour:

If there already is a human participant in a room, when the liveavatar participant connects, it should immediately start streaming the video.