Skip to content

Typescript library for Media over QUIC

License

Notifications You must be signed in to change notification settings

wanjohiryan/moq-js

 
 

Repository files navigation

Media over QUIC

Media over QUIC (MoQ) is a live media delivery protocol utilizing QUIC streams. See the Warp draft.

This repository contains the source for quic.video. It's split into a reusable Typescript library (lib) and the demo application (web).

You will also need to run a relay, such as moq-rs.

Usage

Library

The library is released periodically and available on NPM. There's no documentation until the API settles down.

npm install --save @kixelated/moq

Web

The website is published automatically on merge and available at quic.video.

Development

Setup

Install node dependencies using npm:

npm install

Parcel can generate TLS certificates but introduces some annoying TLS errors. We use mkcert instead to generate a self-signed certificate.

brew install mkcert # see instructions for other platforms
npm run cert

Serve

You can run a dev web server with:

npm run serve

Parcel sometimes does a poor job invalidating the cache; you might need to clear it:

npm run clean

License

Licensed under either:

About

Typescript library for Media over QUIC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.1%
  • HCL 4.6%
  • JavaScript 1.8%
  • HTML 1.4%
  • CSS 0.1%