From 5301be547276aaeaa673a45d3f9ec6f3df2de43f Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Thu, 9 Nov 2023 03:39:57 +0900 Subject: [PATCH] Update the source page a little. --- web/src/pages/source.mdx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/web/src/pages/source.mdx b/web/src/pages/source.mdx index 90b31da..71bb8ff 100644 --- a/web/src/pages/source.mdx +++ b/web/src/pages/source.mdx @@ -3,33 +3,36 @@ layout: "@/layouts/global.astro" title: Source --- -# Rust +# Rust! -Native code is written in Rust in the [moq-rs](https://github.com/kixelated/moq-rs) repo. +Native code is written in Rust and is available at [kixelated/moq-rs](https://github.com/kixelated/moq-rs). It's split into a few crates: | crate | description | | ----------------------------------------------------------------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| [moq-transport](https://docs.rs/moq-transport/latest/moq-transport/) | A library that implements the [MoQ Transport](https://datatracker.ietf.org/doc/draft-ietf-moq-transport/) draft. | +| [moq-transport](https://docs.rs/moq-transport/latest/moq-transport/) | A library that mostly implements the [MoqTransport](https://datatracker.ietf.org/doc/draft-ietf-moq-transport/) draft... with a few strong opinions. | | [moq-relay](https://github.com/kixelated/moq-rs/tree/main/moq-relay) | A MoQ server that connects publishers to subscribers, caching any duplicate subscriptions. | | [moq-pub](https://github.com/kixelated/moq-rs/tree/main/moq-pub) | A MoQ client that integrates with ffmpeg to publish fMP4. | +| [moq-clock](https://github.com/kixelated/moq-rs/tree/main/moq-clock) | It's a clock! Just to demonstate that MoqTransport can do more than media. | | [webtransport-quinn](https://docs.rs/webtransport-quinn/latest/webtransport_quinn/) | A [WebTransport](https://datatracker.ietf.org/doc/draft-ietf-webtrans-http3/) client and server utilizing [Quinn](https://github.com/quinn-rs/quinn). | Check out the [open issues](https://github.com/kixelated/moq-rs/issues) for a rough road map and potential contributions! # Web -Web code is written in Typescript in the [moq-js](https://github.com/kixelated/moq-js) repo. -It's available on NPM as [@kixelated/moq](https://www.npmjs.com/package/@kixelated/moq) and split into folders depending on your use-case: +Web code is written in Typescript and is available at [kixelated/moq-js](https://github.com/kixelated/moq-js). +It's split into a few folders: | folder | description | | -------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **transport** | Mostly implements [MoQ Transport](https://datatracker.ietf.org/doc/draft-ietf-moq-transport/) draft... with same said strong opinions. | | **contribute** | Captures media, encodes via [WebCodecs](https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API), and transmits over [WebTransport](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport). | | **playback** | Receives media over [WebTransport](https://developer.mozilla.org/en-US/docs/Web/API/WebTransport), decodes via [WebCodecs](https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API), and renders via [OffscreenCanvas](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) and [WebWorklet](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorklet). | -| **transport** | Implements [MoQ Transport](https://datatracker.ietf.org/doc/draft-ietf-moq-transport/) draft and the underlying messages. | +
💯🔥🚀🦀 Time to rewrite it in Rust 🦀🚀🔥💯
+ +It's also available on NPM as [@kixelated/moq](https://www.npmjs.com/package/@kixelated/moq). This project is using a lot of new web APIs so expect [issues](/issues). -Chrome support is guaranteed but other browsers are still catching up. # License