How to mock a webcam for Chrome debugging VisualStudio Remote server

I use Visual Studio from a remote server and I need to access a Webcam when debugging in Chrome for my application.

Of course the server doesn’t have a webcam. I am getting rid of flashplayer in the app even to access the webcam. I need to test my dev without a real one.

When lauching my ASP.Net app in Chrome from Visual Studio, How can I fake a webcam ? I would need to run the webapplication with some special parameters ?

Add Comment
1 Answer(s)

The OBS project has a plugin called Virtualcam that creates a virtual webcam device. OBS is very flexible with sources, so you can create many different scenes for your different test cases and easily make them reproducible.

Answered on August 30, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.