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

Implement FETCH Control Messages #35

Open
mcintyrehh opened this issue Jan 13, 2025 · 2 comments
Open

Implement FETCH Control Messages #35

mcintyrehh opened this issue Jan 13, 2025 · 2 comments

Comments

@mcintyrehh
Copy link
Contributor

As a first step to building a working FETCH implementation, we should add the FETCH control message in moq-js.

The goal of this issue is to add everything to encode/decode the payload of a FETCH message, but not actually wire anything up.

This will unblock development in the backend where we can implement the same and ideally serve mocked responses to again unblock Playback/UI development.

I have a WIP of adding SUBSCRIBE_NAMESPACE control messages here that we can use for inspiration: mcintyrehh/moq-js@draft-06...mcintyrehh:moq-js:draft-06-part2-electric-boogaloo. This doesn't cover everything, but it should be a good start.

https://www.ietf.org/archive/id/draft-ietf-moq-transport-07.html#message-fetch

FETCH Message {
  Type (i) = 0x16,
  Length (i),
  Subscribe ID (i),
  Track Namespace (tuple),
  Track Name Length (i),
  Track Name (..),
  Subscriber Priority (8),
  Group Order (8),
  StartGroup (i),
  StartObject (i),
  EndGroup (i),
  EndObject (i),
  Number of Parameters (i),
  Parameters (..) ...
}
@mcintyrehh
Copy link
Contributor Author

FYI @JoaquinBCh, Mike brought up a good point in the moq-rs issue, we should bump the version to draft-07 as well

@nicolaslevy
Copy link

Note from our meeting, @JoaquinBCh has started working on the FETCH messages

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

No branches or pull requests

2 participants