[Feature] Invite specific users to a streaming session through notifications

Open
#5,831 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
api, backend

Research direction

Start by reading the streaming session API and the notification system added in version 5.5; the issue suggests POST /api/streaming/sessions/{platform}/invite and a STREAM_INVITE notification kind. Trace how notifications reach the in-app socket and configured outbound channels, then check how streaming session links are created. Done means a host can target users and each invite includes a link that joins the session; the optional broadcast behavior is separate.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
When I start a streamed game and want a specific person on my server to join, there is no way to tell them from RomM. They only find out if they happen to be looking at a client that lists joinable sessions. Invite links exist on the stream server side, but they have to be sent by hand over some other app.

Describe the solution you'd like
An "invite to my game" action for streaming sessions: the host picks one or more users, and each gets a notification through the notification system added in 5.5 (in-app over the socket, and through whatever outbound channels they configured), with a link that joins the session. For example POST /api/streaming/sessions/{platform}/invite with {"user_ids": [...]} and a new notification kind such as STREAM_INVITE.

Describe alternatives you've considered
Showing every joinable session to every user and letting people notice it. That reaches nobody whose client is closed, and cannot target one person. Using outbound channels is what makes it possible to reach someone whose TV is off.

Additional context
A matching broadcast kind ("Sam opened Mario Kart to others") would also be useful, as an opt-in for the receiving user.

Dominant language
Python
Stars
13.3k
Forks
747
Avg merge
20h 58m
Merged PRs (30d)
207

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rommapp/romm

All issues in rommapp/romm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.