Skip to content

Composite sessions instead of joining streams live - #66

Merged
mlopezsegura merged 4 commits into
masterfrom
feature/composite-sessions
Nov 16, 2026
Merged

mlopezsegura merged 4 commits into
masterfrom
feature/composite-sessions

Conversation

@mlopezsegura

Copy link
Copy Markdown
Collaborator

Replaces the live mosaic (joining one session into another's stream from the ⋯ menu) with composite sessions: a session type that puts 2–4 RDP sessions into one stream, each in its own slot.

  • A composite has its own Sunshine instance (ports, pairing, name in Moonlight); start/stop/delete work like any session
  • Starting it starts any stopped members, pauses their own Sunshine, reconnects each RDP session at its slot size and runs the composite's Sunshine in the Windows session of the member that owns keyboard, mouse and audio. Stopping it restores sizes and Sunshine and stops the members it started
  • Templates: side by side, stacked, 2×2, big left, big top. Grid editor in the dashboard (+ Composite session), "In «X»" chip on members
  • Gamepad N goes to slot N
  • API: /api/composites; docs: docs/sesiones-compuestas.md
  • Start uses the lifecycle generation from Sessions: fix start/stop races, atomic saves and Sunshine proxy errors #58, so a stop or restart during start is honoured

Not yet tested end-to-end with real RDP sessions and a client.

Tested: build, unit tests (layout templates) and i18n tests.

🤖 Generated with Claude Code

mlopezsegura and others added 4 commits November 14, 2026 14:41
A composite session is a session kind of its own: it joins two to four RDP
sessions in one stream, each in a slot of a 2x2 grid (side by side, stacked,
2x2, one large and two small), with its own Sunshine, ports, pairing and name
in Moonlight. Starting it starts the stopped members, pauses their own
Sunshine, reconnects each to its slot size and launches its Sunshine in the
keyboard session's Windows session, which composes them all. Stopping it gives
every member back its size and Sunshine and stops the ones it started.
Controller N goes to slot N. Members stay normal sessions.

The dashboard gets a "+ Composite session" editor with templates and a
visual grid, composite cards with a slot map, and an "In <composite>" chip
on members. The live "join another session's stream" mosaic is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…essions

# Conflicts:
#	Core/Api/StreamSessionService.cs
#	Core/wwwroot/locales/bg.json
#	Core/wwwroot/locales/cs.json
#	Core/wwwroot/locales/de.json
#	Core/wwwroot/locales/en.json
#	Core/wwwroot/locales/en_GB.json
#	Core/wwwroot/locales/en_US.json
#	Core/wwwroot/locales/es.json
#	Core/wwwroot/locales/fr.json
#	Core/wwwroot/locales/hu.json
#	Core/wwwroot/locales/it.json
#	Core/wwwroot/locales/ja.json
#	Core/wwwroot/locales/ko.json
#	Core/wwwroot/locales/pl.json
#	Core/wwwroot/locales/pt.json
#	Core/wwwroot/locales/pt_BR.json
#	Core/wwwroot/locales/ru.json
#	Core/wwwroot/locales/sv.json
#	Core/wwwroot/locales/tr.json
#	Core/wwwroot/locales/uk.json
#	Core/wwwroot/locales/vi.json
#	Core/wwwroot/locales/zh.json
#	Core/wwwroot/locales/zh_TW.json
#	tests/i18n-backend.test.cjs
… as running

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mlopezsegura
mlopezsegura merged commit 42efa9c into master Nov 16, 2026
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.

1 participant