Cally K

Cally K

  • 1.2k
  • 507
  • 15.5k

How to implement IRDPSRAPIAudioStream in RDPSession

Sep 17 2021 2:28 AM

Hi,

I have the code for rdp session for both the server side and the client side. I am just not able to implement the audiostream for the rdpsession class. I am not sure what I am doing thats wrong.

I am getting this error when I implement it. 

Unable to cast COM object of type 'System.__ComObject' to interface type 'RDPCOMAPILib.IRDPSRAPIAudioStream'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{E3E30EF9-89C6-4541-BA3B-19336AC6D31C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

What am I doing thats wrong ? The code is in the CreateRDPSession method

 

 


Attachment: Remote.rar

Answers (1)