r/code • u/Either_Present_1941 • Jan 14 '25
Help Please Python agent won't connect to Livekit room.
I'm starting to work on my first coding project, and i can't get the agent to connect to a Livekit hosted playground. When the program starts, the hosted playground opens and allows me to connect but, the agent doesn't activate. I feel I'm most likely missing a major aspect of the code, but I can't pinpoint it.
https://pastebin.com/4GxdMc26 ,hopefully this link works.
I know that something with the token is probably wrong, but I highly suspect I have other inaccuracies in the code. What do you guys notice?
3
Upvotes
View all comments
Show parent comment
2
u/Either_Present_1941 Jan 15 '25
Thanks for the reply! I want to ask how you got your code running? When I start the program, and type "python main.py start" the agent never connects to the hosted playground. I can connect to the program, but the agent doesn't connect.