Copy link to clipboard
Copied
I have a Surface Pro 3, currently flash player defaults to the rear camera, how can I change the settings so that the default will be the front viewing camera? Thank you in advance
Copy link to clipboard
Copied
Hi ,
Are you making an app, or using some online website/games?
also please provide some more info.
Read Before Posting: How To Get A Useful Answer To Your Question
-vivek
Copy link to clipboard
Copied
Hi,
We are developing a web application with asp.net. We have a flash player camera function which works with webcamjs library. Everything is fine except we could not find a way to set rear camera as default. We know user can right click on camera and change to rear cam and its working fine but we want to switch default settings to do that in order to assure better user-friendly experience. Is there a way to accomplish that except disabling the front camera?
Copy link to clipboard
Copied
This doesn't answer your question, but I think it's important to know.
Adobe AIR is the supported path for creating an application based on Flash technology. We don't really recommend embedding the ActiveX control into a .NET application in the way that you describe. It's fragile, and we don't test it. We know that people do it and try to preserve that functionality where possible, but it's a recipe for pain.
You'd be much better served by either doing a native implementation or using AIR.
That said, you can enumerate the available cameras with Camera.names, and use getCamera(name) to return a reference to a specific camera. You'd have to tailor the application to each piece of hardware you're targeting, but if everyone has a Surface Pro 3, that should be pretty straightforward.