Linked by Thom Holwerda on Tue 15th Dec 2009 18:06 UTC, submitted by poundsmack
Post a Comment
RE: It would make sense ...
by 0brad0 on Wed 16th Dec 2009 01:41 UTC
in reply to "It would make sense ..."
if there was a standard HW interface for all the cameras . (there exist webcams not working with standard USB video class)
That is completely irrelevant for what is being accomplished here. OS's with support for cameras already have an API for applications to interface with the hardware.
RE: Client or server side?
by supercompman on Tue 15th Dec 2009 20:45 UTC
in reply to "Client or server side?"
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.
RE[2]: Client or server side?
by pooo on Tue 15th Dec 2009 21:21 UTC
in reply to "RE: Client or server side?"
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
RE[3]: Client or server side?
by vivainio on Tue 15th Dec 2009 22:20 UTC
in reply to "RE[2]: Client or server side?"
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.
RE: Client or server side?
by Beta on Wed 16th Dec 2009 12:27 UTC
in reply to "Client or server side?"





