Hello We are a startup creating a platform for liv...
# ask-ai
f
Hello We are a startup creating a platform for live online vocal lessons. We would like to integrate your video conferencing into our web platform. How can we integrate it? If we integrate video conferencing, is it possible to customize its features or design?
t
Thanks for reaching out, Yaroslav. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’ll answer both parts: how to integrate LiveKit into your web platform, and whether you can customize features and design. Integration (quick path) 1. Use the JavaScript client (
livekit-client
) on the frontend and generate secure room tokens from your backend using a server SDK (token-based auth). 2. For React apps, use
@livekit/react-components
for prebuilt UI or
@livekit/react-core
(hooks + renderers) if you want to build your own UI. 3. Typical flow: ◦ Backend: create a token for a user for a given room. ◦ Frontend: connect with the token and join the room, then publish/subscribe to audio/video tracks. 1. Ensure microphone permissions for vocal lessons and optionally enable camera/screen share as needed. Customization — yes, extensively • UI: You can use prebuilt React components for fast delivery or use core hooks (
useRoom
,
useParticipant
) and `AudioRenderer`/`VideoRenderer` to build fully custom interfaces and styling (CSS variables/classes supported). • Features: Add or control features like adaptive quality (`dynacast`/`simulcast`), noise reduction (e.g.,
@livekit/krisp-noise-filter
), device selection, recording, and custom controls (audio visualizers, metering). • Deployment: Use LiveKit Cloud for managed hosting or self-host the open-source LiveKit server if you prefer full control. Next steps I can help with • Provide a minimal React quickstart snippet and token-generation example for your backend language (which backend language do you use?) • Recommend which React package to start with based on whether you want prebuilt UI or full custom UI • Show examples for audio-focused features (noise suppression, visualizers, gain control) Which next step would you like? (Also tell me which backend language you use.) Sources: Intro to LiveKit | LiveKit docs | React quickstart | LiveKit docs | Connecting to LiveKit | LiveKit docs | Codecs and more | LiveKit docs | React Core and Components
f
We are in Russia and without vpn our live.kit video communication works very poorly, is it possible to correct it somehow ? How to fix the problem?
t
You're experiencing poor LiveKit performance in Russia without a VPN — I can help. A few targeted questions first so I can recommend the best fix: 1. What exactly is happening for your users? (high latency, dropped audio/video, no connection, or very low quality) 2. Are the problems the same for all users in Russia or only certain ISPs/locations? 3. Can you run the Connection Test Utility and share the results (WebSocket, WebRTC, TURN checks)? 4. Are you currently using LiveKit Cloud or a self-hosted LiveKit server? Immediate actions you can try now • Force use of TURN relays in the client to bypass blocked UDP: ◦ Set
connectOpts.rtcConfig = { iceTransportPolicy: 'relay' }
so clients use TURN (more likely to work through restrictive networks). • Ensure network allows outbound TCP 443 to: ◦
*.livekit.cloud
and
*.turn.livekit.cloud
◦ If possible, allow UDP 3478 and UDP 50000–60000 for direct WebRTC (better quality when available). • Use TURN over TLS (TURN on TCP/443) — this is the most firewall-friendly path and usually avoids needing a VPN. • If you need lower bandwidth: fall back to audio-only or lower resolution video when connection quality events show degradation. Longer-term options • Consider self-hosting LiveKit in a datacenter closer to your users to reduce latency. • Monitor connection-quality events and implement automatic downgrade (audio-only or lower resolution) when poor quality is detected. Tell me the answers to the four questions above and, if available, paste the Connection Test Utility output. I’ll give concrete next steps (client config snippets and the best deployment option) based on your situation. Sources: LiveKit Cloud Architecture | LiveKit docs | Connecting to LiveKit | LiveKit docs | Firewall Tips | Configuring firewalls | LiveKit docs | Diagnosing Connection Errors with Connection Test Utility
f
If we host your code on our servers in Russia, will it work?
t
Yes — you can self-host LiveKit on your servers in Russia, and that will likely improve latency and reliability for local users. Key points to know and next steps • Self-hosting is supported: run the open-source LiveKit server in a datacenter or cloud region near your users. • Benefits: lower latency, fewer routing issues, and better overall media quality compared with connecting to distant LiveKit Cloud regions. • Network and ports to allow: ◦ TCP 443 for signaling/WebSocket and TURN over TLS ◦ UDP 3478 for TURN (if possible) ◦ UDP ephemeral range (recommended) 50000–60000 for direct WebRTC media • TURN: configure a TURN server (coturn or LiveKit’s TURN relay) and ensure TURN over TLS on TCP/443 is available for networks that block UDP. • Client config: you can force relayed connections if needed: ◦ set
connectOpts.rtcConfig = { iceTransportPolicy: 'relay' }
to force TURN usage in restrictive networks. • Monitoring & fallback: implement connection-quality monitoring and automatic fallbacks (audio-only or lower-res video) when quality degrades. If you want, tell me: • Where (which city/hosting provider) you plan to host, • Whether you’ll run your own TURN server or want guidance setting one up, • Which backend environment you use (I can provide deployment steps or a docker-compose example).