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

Video ingestion has extra latency and is awkward #778

Open
ianswett opened this issue Mar 16, 2025 · 2 comments
Open

Video ingestion has extra latency and is awkward #778

ianswett opened this issue Mar 16, 2025 · 2 comments
Labels
Subscribe Related to SUBSCRIBE message and subscription handling

Comments

@ianswett
Copy link
Collaborator

I believe the intended flow for ingestion today is a client connects, then sends an ANNOUNCE for the namespace it wants to publish to, then the server sends a SUBSCRIBE for a track.

This takes an extra RTT at best over the client just beginning to publish once it connects.

How does the server know which track name(s) to subscribe to?

It seems like a simpler model would be similar to HTTP POST, where the client connects and starts publishing whenever it wants to, and the server can cancel the PUBLISH at any time if it doesn't want to receive the data.

As implied, this requires a new verb, ie: PUBLISH to allow the publisher to initiate publication of a Track.

@afrind
Copy link
Collaborator

afrind commented Mar 16, 2025

Individual Comment:

The awkwardness of "publisher speaks first" is not limited to video ingestion either. We are investigating moqt to carry existing relay-to-relay realtime traffic and would likely use something like PUBLISH if it existed.

@afrind afrind added the Subscribe Related to SUBSCRIBE message and subscription handling label Mar 16, 2025
@gmarzot
Copy link

gmarzot commented Mar 16, 2025

+1 to ingest ease / PUBLISH. making it easy to drive video into the mesh from a lot of different types of sources is a good thing. WHIP/WHEP comes to mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subscribe Related to SUBSCRIBE message and subscription handling
Projects
None yet
Development

No branches or pull requests

3 participants