Hello @Luis Claudio
Sorry for the delay. I searched the official documentation and code samples, but I didn't see any examples of actually successfully obtaining IRDPSRAPIAudioStream
. But here is the description of WDS and Desktop Duplication API in the documentation.
Beginning with Windows 8 and Windows Server 2012, Windows Desktop Sharing uses the Desktop Duplication API. To ensure that your application will work correctly at all dots per inch (dpi) settings, your application must be DPI-aware. The recommended method for doing this is to configure the application manifest to mark your application as per-monitor DPI-aware as described in Writing DPI-Aware Desktop and Win32 Applications. This will set the application level when the application is launched.
It is recommended to use the Desktop Duplication API to achieve this function first.
Thank you,
Junjie