Skip to content Skip to sidebar Skip to footer

Could The Html 5 Video Tag Source Come From Streaming Ip Cam?

I saw this article http://www.html5rocks.com/en/tutorials/getusermedia/intro/, it explain about capturing audio and video from user device such as webcam and microphone. My questio

Solution 1:

HTML capturing is intended for interacting with a local device etc, your problem is completely different than that. Probably, your problem is even easier to solve, as HTML has better support for playing out network video streams than for capturing from local device. You might then be able to capture frames off of the displayed stream, as JavaScript Images.

You first need to figure out your IP camera does the streaming. Some cameras are using streaming protocols (RTP and such), which could be supported by your browser's element. Other cameras use a method called progressive download, in which they're producing an endless file being downloaded by the client. If that's the case with your camera, you might be able to simply retrieve that file using XHR.

Post a Comment for "Could The Html 5 Video Tag Source Come From Streaming Ip Cam?"