I'm providing an interface to users to easily switch between different Audio Devices in Skype.
I'm able to change the Skype Audio Input & Out using Skype4COM as below:
Skype _client=new Skype();
//outDevice=Headset Earphone (Plantronics C320-M) ->Works fine
//outDevice=Speaker/HP (Realtek High Definition Audio Device) ->Works fine
_client.Settings.AudioIn = inDevice;
_client.Settings.AudioOut = outDevice;
Headset Earphone (Plantronics C320-M) is the friendly name obtained using MMDevice (NAudio). This works fine for Internal Speaker, Plantronics Headset etc. But for a Bluetooth speakers, it does not work. When I look at the settings of Skype, I see some number appended to the Bluetooth Speaker, which I'm not sure what this number is. When I set as below, the Audio is routed correctly to JBL Bluetooth Speaker:
_client.Settings.AudioOut=Headset (JBL GO Hands-Free) JBL GO(202764376855473)
the question is, How do I get the number 202764376855473? What it is?
Got it! It is Decimal value of DeviceAddress property, DeviceAddress = {B869C2A7D3B1} Decimal(B869C2A7D3B1)=202764376855473
:-)
I hope it helps someone!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.