@livekit/av
v10.0.0
Published
Prebuilt minimal FFmpeg for LiveKit Agents audio en/decoding. For internal use; no stability guarantees.
Maintainers
Keywords
Readme
@livekit/av
Prebuilt, minimal, LGPL-licensed FFmpeg binaries used by LiveKit Agents for audio en/decoding.
Internal use. This package exists solely to support
@livekit/agents. It is a stripped-down, audio-only FFmpeg build (no video, no network, royalty-free codecs only) and its API and contents may change without notice. Do not depend on it directly.
Installing @livekit/av pulls in exactly one platform package
(@livekit/av-<platform>-<arch>) via optionalDependencies with os/cpu filters.
getFfmpegPath() returns the absolute path of the binary, or undefined when no platform
package matches (e.g. musl-based distros) — callers fall back to ffmpeg on PATH.
Versioning is independent of FFmpeg (upstream major bumps aren't breaking for this
stripped-down build): the major is pinned at 10 — above the ffmpeg-encoded 7.x/8.x
versions published before this scheme — and every republish bumps the minor. The
FFmpeg/libopus versions and tarball hashes actually shipped are pinned in this
package.json's livekit field — the source of truth build-ffmpeg.sh verifies every
download against.
The binaries are LGPL v2.1+ (see NOTICE); the JS resolver in this package is Apache-2.0.
Build recipe: av/scripts/build-ffmpeg.sh in this repository.
