TypeScript / JavaScript

TypeScript / JavaScript

Building Web Applications

A significant feature of MoQ is that it is available on web browsers using WebTransport. This allows for real-time media streaming directly in the browser without the need for additional plugins or software. We provide a JavaScript client library to facilitate this integration.

Prerequisites

  • Node.js (version 14 or later)
  • npm (Node Package Manager)

Initialize npm module

If you haven’t already, initialize an npm module in your project directory.

npm init -y

Install module

npm install @okutanidaichi/moqt

Note: Browser compatibility

If your browser does not support WebTransport, moqt does not work. Check the Can I Use for the latest compatibility information.