Hey there - wondering if there is a way to display multiple streams on the same page? All from the same camera, same image. I tried to do this assigning a class instead of an id but I’m not getting much success:
To be clear: I’m not trying to add a second webcam, just trying to get the same version to show up multiple times.
Hey, This was awesome. I teach Carpentry and in 5 minutes with a little copy and pasting and some pruning I got it to work for my needs. 2 questions, can you select another video device? The default is the webcam on my laptop. I have a GoPro HERO 8 that I want to be able to display onto (into) chrome as a document camera work around. If I can do it, how? I basically need to identify a new source for the video… remember I’m a carpenter so go… s…l…o…w. Cheers, Peter
Thanks for the quick reply. I have the GoPro desktop utility and it will allow the go pro to be used in Zoom, go to meeting ect. I want to be able to use the camera outside of social media/meeting applications. I could use chrome to “host” the video.
I am not sure where in the HTML5 code to place the enumerateDevices command. I have tried several places but haven’t gotten it to execute. Any advice?
The quicktime app can select a connected IOS device as a Camera. But Chrome (for example) does not see it among the selectable cameras… is there a way to access a connected ios device’s screen like quicktime does for ios screen recording to mac?
Just noting here that I (foolishly, perhaps) tried to customize the initial code example by using jQuery, only to have it fail over and over and over. For some reason, you cannot simply select the video element like you normally would in jQuery, even if you try to grab it by ID.
If I don’t use the array notation [0] and then console.log the result, no video shows in the browser (no errors, either), and Chrome displays this in the console:
Hi. I am using angularjs to build a web application.
I will be accessing the webcam through an IP and port over the lan to video stream and take picture.
I am able to do it through the laptop webcam but stuck up in accessing the webcam through IP and port.
Can you pls guide me how to achive this?
That’s my question to you - do you have an IP address that gets you access to the webcam? If the answer is “Yes”, then the HTML/CSS/JS side is doable. If the answer is no, then you’ll need to have an intermediary solution to get you that information.
My answer to your question is yes. I have access an IP address to access the webcam which is in the LAN. I am developing a weighbridge system where the user will be sitting in the control room and the camera is setup in the weighbridge console. The user will instruct the driver to move the truck back and forth to get the right image of the container, the vehicle number and take picture to be recorded throug a UI. Let me know how that can be possible please.
TiA
Kirupa - this was a lifesaver when testing HTML output for my webcam -
There is also a great test page for all Input / Output Audio / video devices in the WebRTC Samples.