Sometimes, the "IsDefaultDevice" property returns incorrect value.
In my case, the "IsDefaultDevice" property of all capture devices on my PC are always false.
This is because when determining whether a device is the default device, it depends on the DeviceType property, but it was determined before the DeviceType property was determined.
Therefore, I exchanged the code steps to determining whether a device is the default device after DeviceType property was determined.
Sometimes, the "IsDefaultDevice" property returns incorrect value.
In my case, the "IsDefaultDevice" property of all capture devices on my PC are always
false
.This is because when determining whether a device is the default device, it depends on the
DeviceType
property, but it was determined before theDeviceType
property was determined.Therefore, I exchanged the code steps to determining whether a device is the default device after
DeviceType
property was determined.P.S. Thank you for your great works! 👍