I want to make a Audio/Video settings window like existing in Skype, which allow the user to select devices used in the calls and test them, Now i have a two problems:|
- How to get availabe Audio/Video devices.
- I want to test these devices as following:
- Mic: display a bar based on input voice (same as Skype Audio Setting).
- Camera: View a preview from selected camera (same as Skype Setting).
- Speaker: button to play audio file.
I found some a solution for #1 using Microsoft Expression Encoder as following:
var vidDevices = EncoderDevices.FindDevices(EncoderDeviceType.Video);
var audDevices = EncoderDevices.FindDevices(EncoderDeviceType.Audio);
this require to Add the Microsoft Expression Encoder which will increase the size of our program, i think there should be a native way to communicate with Audio/Video devices without the need of external libraries.