Thanks — I’m responding to your question about whether you can control avatar size ratios in LiveKit.
Short answer: There isn’t a built‑in LiveKit API or server-side setting to change avatar size ratios. Avatars in LiveKit are published and rendered as media tracks, and any visual sizing or layout control is handled in your frontend UI (for example with CSS, layout code, or whatever rendering pipeline your avatar integration uses).
What you can do now
• Control display size on the client: Use CSS (or equivalent layout code in your app) to scale the avatar video/canvas element, adjust aspect-ratio, use transforms, or constrain via containers to achieve the ratio you want.
• Control source size before publishing: If your avatar system (the avatar plugin or renderer you’re using) can render at different resolutions or produce different canvas/video dimensions, adjust that renderer before publishing the track to LiveKit. That changes the published track’s pixel dimensions, which you can then present however you like on the client.
• Combine both approaches: Render the avatar at an appropriate internal resolution and use client-side layout/CSS to enforce the final on-screen ratio.
If you’d like more specific guidance, please tell me:
• Which client SDK are you using (Web, React, iOS, Android)?
• Are you showing avatars as video <video>/<canvas> elements, or via a custom renderer (e.g., a WebGL canvas)?
• Do you want to change aspect ratio per-participant dynamically, or set a fixed ratio across the UI?
Give those details and I’ll walk through concrete steps or code snippets for your platform.
Sources:
Deployment & Scaling - Field Guides | LiveKit |
LemonSlice virtual avatar integration guide | LiveKit Documentation |
Hedra Realtime Avatar integration guide | LiveKit Documentation |
Virtual avatar models overview | LiveKit Documentation |
Avatario Realtime Avatar integration guide | LiveKit Documentation