Skip to content

feat(client): make rdpsnd-native an optional default-enabled dependency#1306

Closed
Copilot wants to merge 1 commit into
masterfrom
copilot/remove-rdpsnd-support
Closed

feat(client): make rdpsnd-native an optional default-enabled dependency#1306
Copilot wants to merge 1 commit into
masterfrom
copilot/remove-rdpsnd-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 25, 2026

Extracts rdpsnd support from #1289 into a dedicated PR per review feedback.

ironrdp-rdpsnd-native (cpal audio backend) is now an optional dependency behind a native-rdpsnd feature, enabled by default. Downstream consumers like headless/agent crates can opt out via default-features = false.

  • Cargo.toml: native-rdpsnd feature gating dep:ironrdp-rdpsnd-native, added to default
  • rdp.rs: #[cfg(feature = "native-rdpsnd")] on cpal import and attach_static_channel calls in both connect and connect_ws

The rdpsnd PDU types from the ironrdp umbrella crate remain unconditionally available — only the native audio backend is gated.

Extract rdpsnd support from PR #1289 into a dedicated PR as suggested
in review. The native-rdpsnd feature is default-enabled so rdpsnd is
always included unless explicitly opted out (e.g. by headless/agent
consumers using --no-default-features).

Ref: #1289 (review)
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