HTML 5 streaming webcam video?

15,111

Solution 1

no

It is in the html5 draft

http://www.whatwg.org/specs/web-apps/current-work/complete/video-conferencing-and-peer-to-peer-communication.html#obtaining-local-multimedia-content

here is a much deeper conversion about this issue

What's the status of the HTML 5 <video> tag and webcam integration?

and here is a solution that works using flash

http://code.google.com/p/jpegcam/

Solution 2

This is now possible in Chrome and Opera: filtering a webcam using getUserMedia and HTML5 canvas and will also soon be in Firefox (getUserMedia is currently in Firefox Nightly).

Solution 3

Purely with HTML5, it's just not going to happen right now.

That said, you could theoretically do it without a flash bridge, but there'd be some requirements. As it is, there are some command-line utilities for Mac OS that capture images from the iSight camera and upload them to a web server. Grabbing the images, and optionally sound, you could redraw to a canvas element a few times a second for a low-grade camera. I won't begin to guess about pushing audio. Use an AJAX stream to maintain the connection, and continuously push the new images to the canvas as they're uploaded.

The real question becomes this: Is it worth it? According to Adobe1, you might as well use a flash bridge. Unless, of course, you're intending iOS compatibility, which is a whole other ballgame on it's own.

Share:
15,111
Admin
Author by

Admin

Updated on July 20, 2022

Comments

  • Admin
    Admin almost 2 years

    Is it currently possible to create a flash free live webcam chat with HTML5? If so, how can I go about doing this?