Skip to content

Public Broadcast Listing #49

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

Open
kixelated opened this issue Oct 13, 2023 · 0 comments
Open

Public Broadcast Listing #49

kixelated opened this issue Oct 13, 2023 · 0 comments

Comments

@kixelated
Copy link
Owner

I removed this functionality as part of migrating away from ANNOUNCE. Time to add it back and do it properly this time!

  1. Add a "public" checkbox to /publish that allows the user to enter the title of the broadcast.
    • The title is not the same as the random broadcast ID.
    • The broadcast ID is random and used by relays (moq-api) for routing.
    • The broadcast title is human-readable, only used when the publisher wants to make a public broadcast.
  2. Add an endpoint that creates a new broadcast given the form information. It should:
    • Verify the information: title, codec info, etc.
    • Generate random broadcast ID.
    • (future) Generate an auth token tied to the broadcast ID.
    • CHOICE: Choose the database. We're running in GCP so there's quite a few options, but local development should still work.
    • Insert everything into the database.
    • Return a URL used to connect to moq-relay: ie. https://relay.quic.video/<broadcast ID>
    • CHOICE: This endpoint could be part of moq-api or moq-js; your choice.
  3. Add an endpoint that lists all PUBLIC broadcasts.
    • Periodically verify each broadcast is still live via moq-api.
    • CHOICE: This endpoint could be rendered on the client or server side (moq-js only).
    • Return a paginated list of public broadcasts and some basic information about them.
  4. Render the list of all public broadcasts on /watch.
    • Make it pretty.
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

1 participant