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.2-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_browser-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 27206445da76711bc4590f9e2d2b15dfd576afd30770d4ecb1d7918c21ae9612
MD5 6c516370bd6d79c0adef464b9f23c003
BLAKE2b-256 401420753ed93a770fa84af29fcaae062846302e1d5597357074bad09dbc2cad

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_browser-0.1.2-py3-none-any.whl:

Publisher: build-native.yml on livekit/cloud-browser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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