Repository navigation
feat(windows): mosaic waiting image and moving a mosaic's input between sessions - #10
Merged
Merged
Conversation
…ting
A line of osms-mosaic.txt may end with the path of a waiting image ("OSWP",
width, height, BGRA pixels) and may use session 0 while the session of that
part restarts. The part keeps its place and shows the image (OpenStreamMS
draws its logo and "Reconnecting…") until the session publishes frames
again, instead of the layout dropping to fewer parts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…essions OpenStreamMS writes osms-input.txt (session, its part of the canvas and the canvas size) when the user moves the mouse and keyboard of a composite stream to another member. Events go to the OpenStreamMS relay in that session through the pipe osms-input-<session>, only if its server is a SYSTEM process of that session; absolute positions are mapped from its part of the canvas to its desktop. Keys and buttons held in the old session are released on the switch, and input stays in this session while the relay is missing. 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.
Two changes for OpenStreamMS composite (mosaic) streams on Windows.
Waiting image for parts whose session is restarting
osms-mosaic.txtlines accept an optional image path (<session> <part> [<waiting image>]) and session0.OSWP+ width + height + BGRA, drawn by OpenStreamMS with the logo and "Reconnecting") instead of going black, and the stream keeps running for the other sessions.Mouse and keyboard to another session of the mosaic
osms-input.txtnext tosunshine.conf(Windows session, its part of the canvas and the canvas size) when the user moves the composite's mouse and keyboard to another member.session_inputthen sends every batch ofINPUTevents to the OpenStreamMS relay in that session through the pipeosms-input-<session>, only if the pipe server is a SYSTEM process of that session (any process could create the pipe first and would get the keystrokes). The client opens it withSECURITY_IDENTIFICATIONso the relay cannot impersonate Sunshine.Tests:
RemoteIdd*(12, two new for the waiting image) andSessionInputTarget*(4 new) pass.🤖 Generated with Claude Code