btw: MoQ is under active development. The APIs and protocols are still evolving and will change. Most of this documentation is AI generated until things get more stable.

Skip to content

Web Demo

The web demo application showcases MoQ's browser capabilities, allowing you to publish and watch live streams directly from a web browser.

Overview

Located at demo/web/, the web demo provides:

  • Publishing — Capture camera, microphone, or screen and publish via MoQ
  • Watching — Subscribe to and render live broadcasts with low latency
  • Web Components — Uses <moq-publish> and <moq-watch> custom elements

Running Locally

bash
cd demo/web
bun install
bun run dev

Then open http://localhost:5173 in a browser with WebTransport support (Chrome 97+, Edge 97+).

Licensed under MIT or Apache-2.0