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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_browser-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9b22edf6b349ced35381cb6f775ac2680de4d896d3986689d9f4b886d21895e6
MD5 299c3138906374624bd33ba4f7487de2
BLAKE2b-256 f9af83ec6718f4ee00a130fb4e2fca196a69099aa4a73b932afd1ac3af5cf6c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_browser-0.1.4-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