Repository navigation
Add Auto/Performance/Quality streaming quality mode to viewer - #10
Merged
Merged
Conversation
Co-authored-by: Undermozes <58026189+Undermozes@users.noreply.github.com>
…e enum Co-authored-by: Undermozes <58026189+Undermozes@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add mode in viewer for Auto/Performance or Quality options
Add Auto/Performance/Quality streaming quality mode to viewer
Mar 11, 2026
Undermozes
marked this pull request as ready for review
March 11, 2026 21:27
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.
Adds viewer-controlled streaming quality modes to the remote control session, allowing users to trade image fidelity for bandwidth/latency based on their network conditions.
Changes
Shared
RemoteControlQualityModeenum:Auto(0),Performance(1),Quality(2)SetQualityModeDtofor viewer→agent communicationDtoType.QualityMode = 29addedDesktop Agent (
Desktop.Shared)IViewergainsQualityModepropertyViewer.ApplyAutoQuality()replaced with a 3-mode strategy:DtoMessageHandlerhandles incomingQualityModeDTOs, updating the viewer's mode at runtimeViewer UI (TypeScript + HTML)
RemoteControlQualityModeTypeScript enum mirroring C# valuesMessageSender.SendQualityMode(mode)sends the DTO to the agent.toggledclassUI.tsreferences andInputEventHandlers.tswiring addedPlease read the following. Do not delete below this line.
Thank you for your contribution to the Remotely project. It is required that contributors assign copyright to Immense Networks so we retain full ownership of the project.
This makes it easier for other entities to use the software because they only have to deal with one copyright holder. It also gives me assurance that we'll be able to make decisions in the future without gathering and consulting all contributors.
While this may seem odd, many open source maintainers practice this. Here are a couple well-known examples:
A nice article on the topic can be found here: https://haacked.com/archive/2006/01/26/WhoOwnstheCopyrightforAnOpenSourceProject.aspx/
By submitting this PR, you agree to the following:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
av-build-tel-api-v1.avaloniaui.net/usr/share/dotnet/dotnet dotnet exec --runtimeconfig /home/REDACTED/.nuget/packages/avalonia.buildservices/0.0.29/tools/netstandard2.0/runtimeconfig.json /home/REDACTED/.nuget/packages/avalonia.buildservices/0.0.29/tools/netstandard2.0/Avalonia.BuildServices.Collector.dll nsEx.cs t.cs p/bin/git(dns block)www.myget.org/opt/hostedtoolcache/CodeQL/2.24.2/x64/codeql/csharp/tools/linux64/Semmle.Autobuild.CSharp /opt/hostedtoolcache/CodeQL/2.24.2/x64/codeql/csharp/tools/linux64/Semmle.Autobuild.CSharp(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/Remotely/Remotely/Remotely.sln --packages /tmp/codeql-scratch-308cdbf2ab4d8643/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/tmp/codeql-scratch-308cdbf2ab4d8643/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/tmp/codeql-scratch-308cdbf2ab4d8643/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true ely/�� s/DtoType.js ely/Shared/Enums/CompletionIntent.cs(dns block)If you need me to access, download, or install something from one of these locations, you can either:
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.