I am making a new camera driver based on AVStream simulated hardware sample driver (Avshws) in Windows driver samples.
After installing my custom driver using Device Manager, when accessing any webpage that utilizes the camera feature (such as a WebRTC test page), my driver is always set as the default device.
I would prefer my original laptop camera to be the default device instead.
I have checked my driver's rank value in Device Manager.
my device's rank is FFFFFFFF, and the original camera's rank is 00FF2002.
since my driver has lower rank, i expeced it to be in lower list. but it was not.
How does Windows OS choose it's default camera?
What steps can be taken to set my laptop camera as the default device instead?