Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: Live streaming with media over quic #27

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

wip: Live streaming with media over quic #27

wants to merge 8 commits into from

Conversation

Frando
Copy link
Member

@Frando Frando commented Feb 12, 2024

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 relay
  • sub connects to an iroh moq stream either on a publisher node or on a relay, and play it via ffplay (or pipes to stdout)
  • pipe-loop passes the ffmpeg-encoded input directly into ffplay. 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:

  • 134 makes the media module from moq-pub public
  • 133 adds a moq-sub crate

Frando and others added 6 commits January 26, 2024 15:33
feat: use file extensions from collection names for MIME guessing
These actions use a deprecated nodejs version.  The newer versions do
not.

Also moves to released versions of actions/checkout as that's more
stable and the recommended way to use them.
@Frando Frando changed the title WIP: live streaming with media over quic Live streaming with media over quic Feb 12, 2024
@Frando Frando changed the title Live streaming with media over quic wip: Live streaming with media over quic Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants