Skip to main content
leticiae84773910
Participant
September 5, 2015
Question

Front vs Back Camera default?

  • September 5, 2015
  • 1 reply
  • 903 views

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

    This topic has been closed for replies.

    1 reply

    Vivek Negi
    Adobe Employee
    Adobe Employee
    September 7, 2015

    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

    Participant
    June 8, 2018

    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?

    jeromiec83223024
    Inspiring
    June 12, 2018

    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.