How to find WebCam

最后都变了- 提交于 2019-12-24 19:25:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!