MoQ is under active development. APIs and protocols may change between releases.

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+).