Skip to content

Some preliminary refactoring for #670#782

Merged
Benoît Cortier (CBenoit) merged 2 commits into
Devolutions:masterfrom
elmarco:refactor
May 9, 2025
Merged

Some preliminary refactoring for #670#782
Benoît Cortier (CBenoit) merged 2 commits into
Devolutions:masterfrom
elmarco:refactor

Conversation

@elmarco
Copy link
Copy Markdown
Contributor

From #670

"session" has a fixed set of supported codecs with associated IDs.

"connector" must expose the set of codecs during capabilities exchange.
It currently uses hard-codes codec IDs in different places.

Move the BitmapCodecs set to ironrdp-pdu. Shared code will be used by
the server, so this is a suitable common place.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
No need to special-case codec_properties_len == 0, defer to the decoding
of the properties instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
@elmarco Marc-Andre Lureau (elmarco) changed the title Some preliminary refactoring Some preliminary refactoring for #670 Apr 29, 2025
@elmarco
Copy link
Copy Markdown
Contributor Author

Benoît Cortier (@CBenoit) ping

Copy link
Copy Markdown
Member

@CBenoit Benoît Cortier (CBenoit) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not sure ironrdp-pdu is the appropriate place to share this code, but right now I don’t have a better suggestion to make. I’ll merge now to not block you any longer.

@CBenoit Benoît Cortier (CBenoit) merged commit ce7379b into Devolutions:master May 9, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants