boundless-author-7811
05/05/2026, 6:59 AMtall-airline-16756
05/05/2026, 6:59 AMtall-airline-16756
05/05/2026, 6:59 AMaec_warmup_duration (server config, SDK client, a particular repo/file, or a settings UI)?
That will help me give the precise meaning and recommended value.
, with interactive elementsboundless-author-7811
05/05/2026, 8:07 AMtall-airline-16756
05/05/2026, 8:10 AM/metrics port.
Sources: Server options | LiveKit Documentation, with interactive elementsboundless-author-7811
05/05/2026, 8:11 AMboundless-author-7811
05/05/2026, 8:15 AMtall-airline-16756
05/05/2026, 8:15 AMaec_warmup_duration and how to expose Prometheus metrics on an agent worker.
• `aec_warmup_duration`: This sets how long (in seconds) the agent will ignore user audio interruptions after the agent starts speaking to avoid being interrupted by echo while AEC warms up. Default is 3.0 seconds; setting it to None disables the warmup.
• Prometheus on agent worker: The agent worker does not expose a built-in metrics HTTP endpoint. To expose /metrics you must run a Prometheus HTTP server in the main process (use prometheus_client.start_http_server(port)) and ensure child-process metrics are handled correctly (call _update_child_proc_count() periodically because set_function() isn’t supported in multiprocess mode). The worker’s existing `host`/`port` options only apply to the health check endpoint, not metrics, so this custom step is required.
If you want, tell me:
• which port you’d like to use, and
• how you run the agent (Docker, k8s, or from source)
and I’ll give exact code/snippet and deployment steps.
, with interactive elements