Skip to main content
the_black_sheep
Participant
Sep 6, 2016 10:34 AM UTC
Question

how to select camera by script

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 is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    jeromiec83223024
    Inspiring
    Sep 12, 2016 11:37 PM UTC

    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.

    Translate