W3C home > Mailing lists > Public > public-device-apis@w3.org > January 2010

Re: Why aren't most devices virtual web services?

From: Kenton Varda <kenton@google.com>
Date: Mon, 11 Jan 2010 12:23:40 -0800
Message-ID: <4112ecad1001111223m580928det84c9d0bd26f1c1a0@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: W3C Device APIs and Policy WG <public-device-apis@w3.org>
On Sat, Jan 9, 2010 at 10:13 PM, Ian Hickson <ian@hixie.ch> wrote:

> For cameras, if we wanted to allow people to use Web-provided streams as
> their outgoing streams, I think we could do that significantly more easily
> just by using a URL scheme to represent online streams. No need for an
> entire REST API to be defined for that.
>

This sounds fine provided that local cameras/mics are also addressed by some
sort of URL, so that the same code works with both local and remote devices.
I think this is the important point Mark was making.  The style of the API
is not important; it just has to look the same regardless of where the
actual device lives, and should reuse HTTP security mechanisms rather than
require something new.
Received on Monday, 11 January 2010 20:24:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:41 UTC