Skip to main content

Chromium Embedded Framework (CEF) bindings for LiveKit

Project description

Browser plugin for LiveKit Agents

Chromium Embedded Framework (CEF) for LiveKit Agents

Development notes

Avoid excessive asyncio task creation

Audio is very sensitive to event loop latency. Avoid creating short-lived tasks (asyncio.create_task, asyncio.ensure_future) on hot paths like paint callbacks, audio callbacks, and input event dispatch. Each task adds scheduling overhead that accumulates into audible jitter.

Prefer a single persistent loop task that drains a queue (see _input_sender_loop, _audio_loop in session.py). The total number of long-lived tasks in steady state should stay in the low tens — not scale with frame rate or input frequency.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livekit_browser-0.1.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file livekit_browser-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_browser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91d218f8354525e27b98580df44641ca8857a128a96065329abd1e2a0472e70f
MD5 ef4035fccbafcb3361e377832ec7f1db
BLAKE2b-256 cd3d437536bef0d19668051f50177dd30a6b24ff18a429cde797d5970a73e2e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page