问题
There is a very good solution how to use WebCam via MS Expression Encoder SDK.
So this code
Dim vidDevices = EncoderDevices.FindDevices(EncoderDeviceType.Video)
returns the list of the installed video devices.
My question is: how to get WebCam as device by default. Is it possible to return /filter only first installed WebCam and no more?
I mean I don't care how many video devices installed I just need get one of the WebCam and that's it.
Is it possible to automate it somehow or we have to select device manually anyway?
来源:https://stackoverflow.com/questions/14771997/how-to-find-webcam