wip: Live streaming with media over quic #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements media live-streaming over iroh-net and media over quic.
The binary imlements a couple of commands:
pub
encodes an input stream (camera, desktop, stdin) with ffmpeg and opens a iroh moq server to accept subscriptions. It can also publish to a relay.relay
runs a relaysub
connects to an iroh moq stream either on a publisher node or on a relay, and play it viaffplay
(or pipes to stdout)pipe-loop
passes the ffmpeg-encoded input directly intoffplay
. this is the absolute minimum latency achievable. should be <500ms.network-loop
creates a full publisher and full subscriber and pipes a media stream through. this is the "real" network latency for localhost. is much higher currently.See the docs for details on how to use: rendered
Currently depends on two unmerged PRs to moq-rs:
media
module frommoq-pub
publicmoq-sub
crate