Before you start
- Complete the Agent setup.
- Create a backend endpoint that returns a short-lived LiveKit token, server URL, and room name for the client.
- Use the same Spatius App ID and Avatar ID as the worker. Keep the Spatius API Key on the worker.
RTCProvider extension point, but do not bundle a native LiveKitProvider.
Install
Connect and render
startPublishing() requests microphone permission, so call startAvatar() from a user action. Run the returned dispose() function when the experience ends.
The adapter creates and owns the LiveKit Room in this path. If your app must supply an existing room, follow the advanced attach() flow in the RTC Adapter reference.

