Saturday, May 4, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2838  / 2 Years ago, fri, august 26, 2022, 9:58:04

I need software which is able to capture images from a webcam and stream them to a web-page.


I already tried a webcam-server, but it uses java applet on the client side for retrieving pictures, which is not supported on my client device (Android tablet).


An alternative may be be something that captures images from a webcam and writes them to the same file, constantly rewriting it. In that case, my java-script on the client side can just use this file to constantly refresh an image.


Any ideas and suggestions are greatly appreciated.


More From » software-recommendation

 Answers
2

Yeah you're on the right path. Deal with standard images and update it with javascript.



You should have a look at webcam which is a little command line app that just snaps away and can upload over FTP. If you don't have an FTP server (eg only SSH) you could mount that and have it upload that way.



One note about refreshing the images: stick '?var=' + (new Date).getTime() on the end of the image URL each time you fetch it. This just forces the browser not to use a cached copy. And make sure you don't set the refresh interval too aggressive.


[#40789] Friday, August 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anxietunnel

Total Points: 66
Total Questions: 120
Total Answers: 115

Location: Norway
Member since Sat, Mar 4, 2023
1 Year ago
;