Repository navigation
Mosaic: up to four sessions in one stream - #53
Merged
Merged
Conversation
Una sesión que se retransmite (la anfitriona) admite en caliente hasta otras
tres; el cliente las ve en una cuadrícula de 2x2 (1 entera, 2 mitades, 3-4
cuartos). Necesita el Sunshine con captura mosaico (Sunshine-Web-RTC
feature/mosaic-capture).
- MosaicService: unir/sacar, pausa el Sunshine de las invitadas, reconecta
cada sesión al tamaño de su parte y escribe osms-mosaic.txt junto al
sunshine.conf de la anfitriona. Se deshace al parar la anfitriona o tras
60 s sin cliente.
- Mandos: el mando N que crea el Sunshine de la anfitriona va a la sesión N
por orden de llegada; se reasignan si el mosaico cambia.
- API /api/sessions/{id}/mosaic, menú y etiqueta con mapa 2x2 en el panel,
textos en los 22 idiomas.
- RemoteIdd FrameConsumer: ReadyEvent() y LatestFrameId().
- Un puesto no puede usar una sesión que está en un mosaico.
- docs/mosaico.md y pruebas de MosaicLayout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sunshine.exe built locally from Sunshine-Web-RTC feature/mosaic-capture (ed4f5567), Release, stripped. Replace it with the CI build before a release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With two sessions the host's menu switches between left/right and top/bottom
halves (PUT /api/sessions/{id}/mosaic/layout). Both sessions reconnect to
their new half; the choice is kept if more sessions join and leave.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mosaic: a session being streamed (the host) takes up to three more sessions, joined live from the dashboard. The Moonlight/WebRTC client sees them in a 2×2 grid. Needs the Sunshine mosaic capture: OpenstreamCo/Sunshine-Web-RTC#7.
What it does
Services/Mosaic/MosaicService.cs): pauses the guests' Sunshine, reconnects each session's RDP to the size of its part (RemoteIdd accepts any mode), and writesosms-mosaic.txtnext to the host'ssunshine.conf. The mosaic ends when the host stops or after 60 s without a client.GET/POST/DELETE /api/sessions/{id}/mosaic[/{memberId}],PUT /api/sessions/{id}/mosaic/layout.GET /api/sessionsaddsmosaicHost,mosaicIndex,mosaicCount,mosaicStacked.docs/mosaico.md, README feature list.Before merging
Sunshine/sunshine.exein this branch is a local build of Sunshine-Web-RTC#7 (commit "Sunshine: local build with mosaic capture"). Replace it with the CI build once Keep isolated users on session delete and show their state in the panel #7 is merged.tests/i18n-backend.test.cjs(96 with both).Testing
MosaicLayoutTests) and i18n tests (38) pass.🤖 Generated with Claude Code