m
hi
t
Thanks for reaching out, Rahib. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'd love to help you out! Could you please share a bit more about your question or the issue you're experiencing? That way, I can make sure to assist you in the best possible way.
m
what will be the best way to deplot livekit playground self hosted i want to deploy it along with my agent so client can test it.
t
I'm here to help you deploy the LiveKit Playground in a self-hosted environment for your client testing. Let's walk through the steps together: 1. Set up the LiveKit server: - For local testing, simply run
livekit-server --dev
. - For production, you can deploy LiveKit to a VM using Docker Compose and Caddy to manage TLS certificates. You might find the VM deployment guide really helpful for this part. 2. Clone and configure the Playground: - Start by cloning the LiveKit Agents Playground repository. - Then, install the dependencies using
npm install
. - Don't forget to configure the
.env.local
file with your LiveKit server details so everything connects smoothly. 3. Run the Playground: - Launch the development server with
npm run dev
. - You can then access it at http//localhost3000. 4. Deploy the Agent: - Make sure your agent is up and running, configured with the same environment variables as the Playground to keep things consistent. 5. Connect clients: - Your clients can connect through the web interface to test audio, video, and chat interactions easily. If you run into any issues, a quick check on environment variables, DNS and TLS settings, and ensuring the necessary ports are open usually helps. Please feel free to reach out if you need any more guidance—I’m here to support you every step of the way! Sources: Agents playground | LiveKit Docs | web/.env.sample | Running LiveKit locally | LiveKit Docs | Deploy to a VM | LiveKit Docs | README.md
m
what about production deployment ? would you suggest creating docker or justs deploy
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
m
why is STT so bad on self hosted env