Linked by Thom Holwerda on Tue 15th Dec 2009 18:06 UTC, submitted by poundsmack
Internet & Networking The groups responsible for standardizing the language used to build Web sites have begun tackling technology to provide a direct interface to Webcams. The World Wide Web Consortium has begun work on the HTML Device addition to the Hypertext Markup Language specification. "The device element represents a device selector, to allow the user to give the page access to a device, for example a video camera," according to a December 11 draft of the specification.
Thread beginning with comment 399720
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Client or server side?
by supercompman on Tue 15th Dec 2009 20:45 UTC in reply to "Client or server side?"
supercompman
Member since:
2008-09-14

Well, the actual site is very thin on details ( http://dev.w3.org/html5/html-device/ )... I would venture a guess that this would be a way for Javascript to access the device. If the device data needs to be sent to the sever, that can be handled quietly in the background with AJAX... no need to specify a HTTP device communications protocol.

Reply Parent Score: 1

RE[2]: Client or server side?
by pooo on Tue 15th Dec 2009 21:21 in reply to "RE: Client or server side?"
pooo Member since:
2006-04-22

Can you stream from javascript using http? The network needs of streaming apps are very different than what are normally required for web apps. Come to think of it, how is this handled for <video>? I bet in that case js doesn't get to touch it either and there is some special stuff happening. I hope it doesn't require the downloading of the entire video.

Edited 2009-12-15 21:22 UTC

Reply Parent Score: 1

RE[3]: Client or server side?
by vivainio on Tue 15th Dec 2009 22:20 in reply to "RE[2]: Client or server side?"
vivainio Member since:
2008-12-26

Come to think of it, how is this handled for ? I bet in that case js doesn't get to touch it either and there is some special stuff happening. I hope it doesn't require the downloading of the entire video.


If you look at the spec posted above, this is intended to support video conferencing.

You can do pretty much anything you want in javascript, if the browser exposes that functionality. HTML5 is there to expose this in standard fashion.

Streaming over http is easy - just keep the connection (of infinite length) open. Or just skip the http altogether.

Reply Parent Score: 2