Get started
Install and build
Note
iroh-live is pre-release, and these docs track its
mainbranch. Theirldownloads are built frommain, and the library is a git dependency on it:iroh-live = { git = "https://github.com/n0-computer/iroh-live", features = ["full"] }.
The irl command line tool is the quickest way to try iroh-live.
Download irl
Every push to main builds irl and attaches it to the
rolling-release
release on GitHub:
| Asset | Platform |
|---|---|
irl-linux-x86_64 | Linux x86-64, glibc 2.39 or newer (Ubuntu 24.04) |
irl-linux-aarch64 | Linux aarch64, glibc 2.36 or newer (Raspberry Pi OS Bookworm) |
irl-macos-aarch64 | macOS 14 or newer on Apple silicon |
irl-windows-x86_64.exe | Windows 10 or newer, x86-64 |
iroh-live-demo-arm64-v8a.apk | The Android demo app |
SHA256SUMS lists the checksums. The tag moves with every push, so the
assets are development builds. On Linux, make the binary executable with
chmod +x and install the runtime libraries of the next section, without the
-dev suffix where your distribution splits them. On macOS, the system may
block a downloaded binary the first time it runs. Allow it under
System Settings → Privacy & Security.
Build irl from source
Building needs a stable Rust toolchain and some system libraries for device access and graphics. The codecs need none.
# Debian and Ubuntu
sudo apt install libasound2-dev libpipewire-0.3-dev libclang-dev \
libegl-dev libgbm-dev libdrm-dev libfontconfig-dev libva-dev nasm
# Arch
sudo pacman -S alsa-lib pipewire clang mesa fontconfig libva nasm
macOS needs libtool and automake from Homebrew.
Then install from a checkout:
git clone https://github.com/n0-computer/iroh-live
cd iroh-live
cargo install --locked --path iroh-live-cli
irl turns on every feature by default. The Linux-only ones compile to
nothing on macOS and Windows. To cross-compile for a Raspberry Pi, see
Publish from a Raspberry Pi.
Build the media relay
The media relay has no prebuilt binary. Its build script bundles the web viewer it
serves to browsers, so building it also needs Node.js
and npm on PATH. The first build runs npm install in
iroh-live-relay/web, which downloads the viewer’s dependencies.
cargo install --locked --path iroh-live-relay
A workspace build, such as cargo build --workspace, builds the media relay too and
needs npm as well. Run a media relay
continues from here.
Use the library
iroh-live depends on the unreleased main branch of
moq-dev/moq, pinned by git rev in the root
Cargo.toml. The pinned rev is f0aaaac39 (2026-11-30). The moq crates on
crates.io come from moq’s release branch, which lags main by weeks, and
iroh-live uses APIs that exist only on main. A crate with git dependencies
cannot be published to crates.io, so none of the iroh-live crates is there
yet. Depend on them through git:
[dependencies]
iroh-live = { git = "https://github.com/n0-computer/iroh-live", features = ["full"] }
Cargo builds moq from the same pinned rev. A crate of yours that also uses a
moq crate directly, such as moq-mux, must name the same rev, or Cargo
builds two copies whose types do not match:
moq-mux = { git = "https://github.com/moq-dev/moq", rev = "f0aaaac39" }
iroh-live’s only default feature is crypto-aws-lc-rs, the crypto
backend. crypto-ring picks ring instead, and crypto-rind picks rind, pure
Rust, with default-features = false, see the
features reference. The default
moves to crypto-rind once rind releases the per-path QUIC keys iroh’s
multipath QUIC needs (kixel-ai/rind#1278).
Until then, the root Cargo.toml patches rind and rind-rustls from git
for that fix. An app on crypto-rind must copy its [patch.crates-io] block
into its own workspace, since Cargo applies only the root workspace’s
patches. Without it the build succeeds, but the first crypto_provider()
call panics with a message that names the block. crypto-aws-lc-rs and
crypto-ring do not need the patch. full turns
on the media stack with device capture, speaker playback, GPU rendering,
recording, PipeWire and PulseAudio. It does not include media files (file):
add it when you need it. media is player and publisher together, and an
app that only subscribes and decodes takes player alone. Without any of
them, the crate is the node, tickets and layouts, which is what a media relay needs.
The features reference lists every
feature of every crate.
The same system libraries as for irl are needed for capture, pipewire
and render. A build without those features needs none of them.
When a moq release contains the APIs iroh-live uses, crates.io versions will replace the git pins.