How do I enable webcam automatically?

  • Hi,

    is there any chance of enabling a camera support automatically? Right now, at least I have tol push one button. I'd like to start my application and webcam-feed starts automatically with it.

    Sorry for posting in C3-board too.

    Thanks!

  • I'm pretty sure the user has to allow webcam to use it. Probably to protect privacy.

  • Hi,

    is there any chance of enabling a camera support automatically? Right now, at least I have tol push one button. I'd like to start my application and webcam-feed starts automatically with it.

    Sorry for posting in C3-board too.

    Thanks!

    7ukecreat0r is correct.

    Quote from manual:

    [quote:22ofrad1]For security reasons, most browsers will prompt the user for permission before allowing user media input, and will display clear notifications that the media device is currently being used, such as a recording icon in the system tray or tab icon.

  • thanks guys. I thought so, too.

    Here's my workaround:

    On key "A" pressed - request camera

    on start of layout - simulate key-event "A"

    camera is automatically enabled. Works fine with chrome.

    Thanks.

  • And now we have to report that as a bug.

  • it's not that I hacked construct, right?

    ... my knowledge is getting dangerous : )

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Actually it's probably a browser issue.

    Ashley

    Where's the report go here or Chrome?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)