Skip to content

feat: emulator streaming -- streaming framework and pcsx2 integration#3211

Open
LoneAngelFayt wants to merge 44 commits intorommapp:masterfrom
LoneAngelFayt:feat/pcsx2-streaming-v2
Open

feat: emulator streaming -- streaming framework and pcsx2 integration#3211
LoneAngelFayt wants to merge 44 commits intorommapp:masterfrom
LoneAngelFayt:feat/pcsx2-streaming-v2

Conversation

@LoneAngelFayt
Copy link
Copy Markdown
Contributor

@LoneAngelFayt LoneAngelFayt commented Apr 3, 2026

What is this?

This is the start of a framework for streaming emulator gameplay directly in RomM using LinuxServer Docker containers as the backend. PCSX2 is the first one wired up but the goal is to expand this to support other emulators and containers over time.

When a streaming container is configured, a play button shows up on the game card. Clicking it opens an in-browser player that connects to a small HTTP broker running inside the container, which handles launching the ROM and managing the emulator process. The video stream output is captured, wrapped in an iframe and presented on the RomM page.

The player requires HTTPS since the broker connection won't work over plain HTTP due to browser mixed-content restrictions.

Changes

Added a new /streaming API router for session management (create, get config, release) that talks to the broker inside the container. Added a streaming section to the config schema (broker_host, broker_port, secret) along with updates to the config example. On the frontend there's a new stream player view, a Pinia store for session state, a route entry, and a conditional play button on the game card. Also updated docker-compose.yml and env.template to show how to run the container alongside RomM.

Feedback welcome

Happy to rethink the config shape, API design, or anything else based on your input.

AI disclosure: some files and code generated by Claude, but testing and corrections by me

@LoneAngelFayt
Copy link
Copy Markdown
Contributor Author

here is the broker that goes into the pcsx2 container if you want to take a look at the api inside

https://github.com/LoneAngelFayt/pcsx2-romm-integration

@rommapp rommapp deleted a comment from LoneAngelFayt Apr 7, 2026
@LoneAngelFayt LoneAngelFayt marked this pull request as ready for review April 10, 2026 03:01
@rommapp rommapp deleted a comment from webysther Apr 11, 2026
@LoneAngelFayt LoneAngelFayt changed the title Feat/emulator streaming Feat: emulator streaming -- streaming framework and pcsx2 integration Apr 11, 2026
@LoneAngelFayt LoneAngelFayt changed the title Feat: emulator streaming -- streaming framework and pcsx2 integration feat: emulator streaming -- streaming framework and pcsx2 integration Apr 12, 2026
@LoneAngelFayt
Copy link
Copy Markdown
Contributor Author

I've finished setting up the integration for dolphin as well, I'm going to split it out into a different PR for each integration

There is thankfully minimal changes but I turn some hardcoding into variables

Once you get done looking through this I'll adapt the others and put them in as I have them completed

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.

2 participants