Skip to content

Conversation

@hdkiller
Copy link
Contributor

@hdkiller hdkiller commented Jul 11, 2025

This change introduces a new feature that allows users to specify a custom window size when the display mode is set to 'Windowed'. This provides more flexibility for users who want to stream in a window that is not a standard resolution.

The following changes were made:

  • Added windowWidth and windowHeight properties to the StreamingPreferences class to store the custom window size.
  • Updated the settings UI to include input fields for the custom window dimensions. These controls are only visible when the display mode is set to 'Windowed'.
  • Modified the getWindowDimensions() method in the Session class to apply the custom window size during the stream connection process.
image
  • Update: I've changed the settings to be more consistent with the existing elements

@andygrundman
Copy link
Contributor

Looks great to me!

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