#Run 2 cams for 1 web app using React-Webcam

11 messages · Page 1 of 1 (latest)

frosty cairn
#

this is a simple code to just run a web cam on react, but how can I stream using both cams on the web app? so I use both of cams that are connected to the PC on the same page.

function App() {
  return (
    <div className="App">
      <div>
        <Webcam />
      </div>
        <p>
          Cam test
        </p>

    </div>
  );
}
export default App;
frozen zealot
frosty cairn
frozen zealot
#

Is this a library or something?

frosty cairn
#

if only i can choose the first cam for the 1st eye frame and another for a second eye frame on the same tab makes sense?

frosty cairn
frozen zealot
#

can you share that

frosty cairn
#

sure gemme a sec

frozen zealot
#

unfortunately I have to run but post it and someone else may be able to help. I will have a look in the morning as well.