Add support for Cloud G-Sync (Variable Refresh Rate) in session settings#278
Merged
Add support for Cloud G-Sync (Variable Refresh Rate) in session settings#278
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new session setting to request Cloud G-Sync / Variable Refresh Rate (VRR) from CloudMatch, exposing it in the UI and wiring it through to the session-create request payload.
Changes:
- Extend shared/main settings models with
enableCloudGsync. - Add a “Cloud G-Sync / Variable Refresh Rate (Beta)” toggle to the Settings page and surface it in controller-mode settings.
- Include
cloudGsyncin CloudMatch session create request features.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| opennow-stable/src/shared/gfn.ts | Adds enableCloudGsync to shared Settings and StreamSettings contracts. |
| opennow-stable/src/renderer/src/components/SettingsPage.tsx | Adds the VRR toggle UI and description text. |
| opennow-stable/src/renderer/src/components/ControllerLibraryPage.tsx | Displays and allows toggling VRR in controller-mode settings. |
| opennow-stable/src/renderer/src/App.tsx | Adds the default value and propagates the setting into session create/claim payloads. |
| opennow-stable/src/main/settings.ts | Persists enableCloudGsync with a default value. |
| opennow-stable/src/main/gfn/cloudmatch.ts | Sends cloudGsync in session create request; updates claim body behavior. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.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.
Description
Enable Cloud G-Sync (Variable Refresh Rate) in session settings, allowing users to request smoother frame pacing on variable frame rate streams. This feature includes a toggle in the settings page and updates to session request bodies to accommodate the new option.