Skip to content

offer RomM streaming on a game's page - #2674

Draft
benklop wants to merge 2 commits into
Moonfin-Client:mainfrom
benklop:feat/romm-stream-integration
Draft

benklop wants to merge 2 commits into
Moonfin-Client:mainfrom
benklop:feat/romm-stream-integration

Conversation

@benklop

@benklop benklop commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A RomM game that can stream gains the streaming player in its player picker, and Play opens the native room when streaming is the selected backend or the only way to play (streaming-only platforms). Choosing streaming on an unlinked account opens the RomM link in a dialog over the page; completing or dismissing it applies the choice that sent the user there instead of losing it.

Stacked on #2673. Requires the plugin's streaming PR (Moonfin-Client/Plugin#442).

Written with AI assistance; reviewed and tested on the Android TV device.

Related Issues

No linked issue.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Performance improvement
  • UI/UX update
  • Documentation update
  • Build/CI change
  • Other (describe):

Changes Made

  • Offer the streaming player on a game's detail and in the player picker.
  • Open the native room for a streaming game and name the stream in the player card.
  • Link RomM from the picker in a dialog, closing it once linked and applying the original choice.
  • Leave local games and games with no streaming offer unchanged.

Platform

  • Android
  • Android TV
  • iOS
  • tvOS
  • Web
  • macOS
  • Windows
  • Linux
  • All / Shared code

Testing

  • Tested on emulator / simulator
  • Tested on physical device
  • Manual testing completed
  • Not tested (explain why):

Test Steps

  1. On the Android TV, chose Stream from RomM on a RomM game, completed the link dialog, and the game streamed.
  2. Verified a linked account applies streaming without showing the link sheet.
  3. flutter test test/ui/screens/games/game_detail_screen_test.dart test/data/game_stream_api_test.dart passes.

Screenshots (if applicable)

Screenshots or a recording from the TV can be added on request.

Checklist

  • Code builds successfully
  • Code follows project style and conventions
  • No unnecessary commented-out code
  • No new warnings introduced

@coderabbitai

coderabbitai Bot commented Dec 5, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the Missing Template Issue opened without one of the issue forms label Dec 5, 2026
The session speaks Selkies' signaling and wire protocol over a WebRTC peer connection, so the station's video and audio play natively with no WebView in the path. Keys, pads and the pointer ride the server's data channels; Android forwards only classified pads' keys and motion to the plugin while a stream runs, leaving the remote on the router's label path. The stream keeps its sound on the device even with a headset paired, binds video by track id rather than by stream, and shows a spinner while it starts instead of trace text over the game.
A game RomM can stream gains the streaming player in its player picker, and the page's Play action opens the native room instead of a local player when that is the selected backend or the only way to play. Choosing the stream on an unlinked account opens the RomM link in a dialog over the page, and completing or dismissing it applies the choice that sent the user there instead of throwing it away.
@benklop
benklop force-pushed the feat/romm-stream-integration branch from 461dcaa to 1458ffc Compare December 5, 2026 04:46
@RadicalMuffinMan RadicalMuffinMan added All Feature Request New feature or request Missing Screenshot UI bug reported without a screenshot or recording UI and removed Missing Template Issue opened without one of the issue forms labels Dec 5, 2026
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

⏳ Checks Running

The analyzer, tests and platform builds are still running, this comment updates when they finish.

Tests ⏳ running

Coverage runs when the pull request is marked ready for review

Platform Status Artifact
Android + TV ⏳ Running n/a
iOS ⏳ Running n/a
macOS ⏳ Running n/a
tvOS ⏳ Running n/a
Apple tests ⏳ Running n/a
Windows x64 ⏳ Running n/a
Windows ARM64 ⏳ Running n/a
Linux x64 ⏳ Running n/a
Linux ARM64 ⏳ Running n/a
Web ⏳ Running n/a
Property Value
Commit 1458ffc
Checks run ⏳ Running
Build run ⏳ Running
Coverage run Coverage #916

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

All Feature Request New feature or request Missing Screenshot UI bug reported without a screenshot or recording UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants