Skip to main content
the_black_sheep
Participant
September 6, 2016
Question

how to select camera by script

  • September 6, 2016
  • 1 reply
  • 218 views

I am currently using webcam.js on my computer web cam,

sometime, it trigger load event but does not trigger life event even I wait for 1minute.

as a result it show a white screen on the streaming area.

after I identify the reason, I found out it is streaming another camera that is not used for streaming.

my question is, is there a way to let me select camera to streaming in script?

    This topic has been closed for replies.

    1 reply

    jeromiec83223024
    Inspiring
    September 12, 2016

    I have to imagine that webcam.js is JavaScript, and not Flash.  I don't believe that either JavaScript or Flash let you choose from an arbitrary list of cameras via script.  They're going to make the camera available that the user has selected in their browser or Flash preferences, respectively.