wai-rs gains the feature floor (the mandatory floor of SPEC 5: PNG, FLAC and zstd, decoded with no system codec library) and quickstart (the floor, and the receipt checks hello and verify run). The wai command line gains four verbs, one module each, named in one table (dx::VERBS): - hello: name, dispatch, rebuild and receipt on a picture made here, the receipt laid out as http-delivery 8 lays receipts beside an object; - create: a new project from one of the examples, whose files the binary holds; tests/cli_dx.rs holds them to wai/examples/ byte for byte; - dev: the relay, the room service and the room page on one loopback origin, as a production front serves them; --check checks each piece through it; - verify: the receipt indexes under a directory, checked offline. The project file a template writes, wai.json, is read in one place (dx/project.rs). wai/examples/ holds video-room, watch-together, messaging, encoder-ingest, package-and-deliver, verify-receipts, apple-app, android-app and remote-desktop, each with a README and a test that runs it through wai create and wai dev. wai/quickstart/ builds the room client and the archive that holds wai, the relay, the room service, the remote host and the packager. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1.7 KiB
1.7 KiB
WAI
The wai command line, and the reference software wai dev runs on your own machine. All
of it is open source under Apache-2.0, built from the open-standards repository
(wai/quickstart/build.sh).
| File | What it is |
|---|---|
bin/wai |
The command line: hello, create, dev, verify, and the envelope tools (inspect, wrap, unwrap, encode, decode for the mandatory floor, capabilities) |
bin/joule-moq-relay |
The relay a room's media goes through: MOQT over QUIC, WebTransport and WebSocket |
bin/joule-moq-room |
The room service: a room's keys, its grants, its clock |
bin/wai-remote-host |
A remote desktop room's host agent |
bin/wai-pack |
The packager: a title as WAI objects, HTTP playlists and a MoQ catalog |
share/wai/web/ |
The room client a browser loads: its pages and their WebAssembly |
Start
wai hello # WAI's four steps on a sample: name, dispatch, rebuild, receipt
wai create my-room --template video-room # a video room in one page
cd my-room
wai dev # the relay, the room service and your page, on 127.0.0.1:8080
wai verify ../wai-hello # the receipts hello wrote, checked offline
wai create --list names every template. wai dev --help gives its options. Nothing here
needs an account, and nothing is sent off your machine.
Keep bin/ and share/ side by side: wai dev finds the relay, the room service and the
room client beside itself.
More
- The standard and its documentation: https://wai.transaction.science/
- The source: https://git.transaction.science/Transaction-Science/open-standards