I proved it a few days ago. The answer is yes and no. Yes XMLHttpRequest allows you to access data while streaming from the camera. No, it is not supported in all browsers.
In XMLHttpRequest, you can receive status messages from an object when they are executed asynchronously. The problem is that every browser passes this a little bit. The big problem is that even if the dose of Internet Explorer supports status updates, if you try to access data in state 3, this will lead to an error. For more information, see Link.
If your camera can send a video stream, which is the standard type of multimedia, as other posters say, this would be your best option. Perhaps after the release of IE 9, XMLHttpRequest will work as intended.
Queuehammer
source share