Skip to content

refactor(html5rdp): restructure connection options and redirection se…#21

Merged
dkmstr merged 2 commits into
masterfrom
master-html5rdp-webcam-redirect-fixes
Jun 22, 2026
Merged

refactor(html5rdp): restructure connection options and redirection se…#21
dkmstr merged 2 commits into
masterfrom
master-html5rdp-webcam-redirect-fixes

Conversation

@aschumann-virtualcable

Copy link
Copy Markdown
Contributor

This pull request refactors how redirection-related options are structured in the get_link method of src/uds/transports/HTML5RDP/html5rdp.py. The main change is to group clipboard, audio, microphone, and webcam redirection settings under a new redirections dictionary, improving code organization and aligning with expected gateway data structures.

Redirection settings refactor:

  • Moved allow_clipboard, allow_audio, and allow_mic (microphone) options into a new redirections dictionary, instead of having them as top-level keys.
  • Updated webcam redirection configuration to be nested inside the new redirections dictionary, ensuring consistent grouping of all redirection-related settings.

Other structural improvements:

  • Updated comments and variable names to reflect the new structure, such as referencing redirections.webcam instead of conn_data.webcam.

Refactor d7a5948 nested the extra params dict (nla/verify_ssl under
options, audio/mic/clipboard under redirections). Update the get_link
tests to read the nested keys instead of the old flat ones.
@dkmstr dkmstr merged commit 1389dae into master Jun 22, 2026
4 checks passed
@aschumann-virtualcable aschumann-virtualcable deleted the master-html5rdp-webcam-redirect-fixes branch June 23, 2026 08:00
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