I like how <livekit.com> demo shows latency realti...
# agents
m
I like how livekit.com demo shows latency realtime. Does livekit SDKs or React components provide it?
l
It's using the LiveKit agents metrics API, similar to this: https://github.com/livekit-examples/agent-starter-python/blob/main/src/agent.py#L96.
m
how are these metrics piped to the frontend? does livekit react components or APIs provide the piping?
l
To send data between the frontend and your agent, you should use RPC: https://docs.livekit.io/home/client/data/rpc/
r
is this example on main page also open source? can we check the client code of it?
l
@rough-stone-87722 it's not open source unfortunately, but we are exploring how to make it available since it's a frequent request. If you DM me, I can likely share portions of it