Skip to main content

Server client

Set the canonical production origin explicitly to https://api.livefaces.ai. Older client defaults use the redirecting https://api.lagena.ai origin.

Custom API origin

Authorized integrations can supply a different absolute HTTP origin without changing application code:
Keep the explicit canonical origin when no override is configured. The SDK does not expose environment names or environment-specific constants.

Custom fetch

Pass fetch when your server runtime needs an instrumented or compatible implementation:
The injected function must follow the standard Fetch API contract.

Client methods

All methods accept an optional AbortSignal. createSession receives the signal inside its options object.

React room

DigitalHumanRoom maps a SessionConnection to LiveKit’s room provider:
It enables adaptive streaming and dynacast, renders remote room audio, and publishes the local camera and microphone by default. Set renderAudio={false} only when a child component renders room audio itself. All other supported props pass through to LiveKit’s room component.

Digital-human video

DigitalHumanVideo selects a remote camera track and never selects the local participant:
Use useDigitalHumanTrack() when you need to render the selected track with a custom LiveKit component.