moq-rs/moq-relay
kixelated 04ff9d5a6a
Add support for multiple origins (#82)
Adds `moq-api` to get/set the origin for each broadcast. Not used by default for local development.
2023-10-12 13:09:32 +09:00
..
src Add support for multiple origins (#82) 2023-10-12 13:09:32 +09:00
Cargo.toml Add support for multiple origins (#82) 2023-10-12 13:09:32 +09:00
README.md Major moq-transport API simplification (#68) 2023-09-15 12:06:28 -07:00

README.md

moq-relay

A server that connects publishing clients to subscribing clients. All subscriptions are deduplicated and cached, so that a single publisher can serve many subscribers.

Usage

The publisher must choose a unique name for their broadcast, sent as the WebTransport path when connecting to the server. We currently do a dumb string comparison, so capatilization matters as do slashes.

For example: CONNECT https://relay.quic.video/BigBuckBunny

The MoqTransport handshake includes a role parameter, which must be publisher or subscriber. The specification allows a both role but you'll get an error.

You can have one publisher and any number of subscribers connected to the same path. If the publisher disconnects, then all subscribers receive an error and will not get updates, even if a new publisher reuses the path.