englishm / moq-js

Typescript library for Media over QUIC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Media over QUIC

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

This repository is a Typescript library that supports both contribution (ingest) and distribution (playback). It requires a server, such as moq-rs.

Setup

Node

Install node dependencies using yarn (or npm if you prefer).

yarn install

Certificates

Use mkcert to generate a self-signed certificate. This is merely for convinence to avoid TLS errors when using parcel.

yarn cert

Usage

Host a simple demo on https://localhost:4444.

yarn serve

This a requires a MoQ server running on https://localhost:4443.

About

Typescript library for Media over QUIC

License:Apache License 2.0


Languages

Language:TypeScript 95.7%Language:CSS 1.9%Language:JavaScript 1.5%Language:HTML 0.9%