livekit / agents-playground

https://agents-playground.livekit.io
Apache License 2.0
148 stars 78 forks source link

Always says "Waiting for video track" / "Waiting for video track" on agents-playground.livekit.io #91

Open alist opened 3 months ago

alist commented 3 months ago

Describe the bug

I always see "Waiting for video track" / "Waiting for video track" on agents-playground.livekit.io

Screenshot 2024-08-21 at 22 45 44

Reproduction

  1. Go to agents-playground.livekit.io and join a room.
  2. Create a token for another participant and join elsewhere (e.g. using ).

The playground page will continue "Waiting for video track", "Waiting for video track" however the tracks published in the playground will appear in the participant.

Verify by adding another participant outside of the playground. They see each other's tracks but not playground does not.

Logs

No response

System Info

agents-playground.livekit.io on August 21 2024.

Severity

annoyance

Additional Information

No response

ATtendev commented 3 months ago

when you create a token make sure agent: true.

image

Because in agents-playground will check if agent == true this will show media if not they won't display anything. image