- From: HENRY Jean-Baptiste <J.HENRY.ext@viaccess-orca.com>
- Date: Fri, 25 Apr 2014 10:01:16 +0200
- To: "Clift, Graham" <Graham.Clift@am.sony.com>, "Vickers, Mark" <Mark_Vickers@cable.comcast.com>, Daniel Davis <ddavis@w3.org>
- CC: public-web-and-tv <public-web-and-tv@w3.org>, <frederick.hirsch@nokia.com>, <public-device-apis@w3.org>, Dominique Hazaël-Massieux <dom@w3.org>, Rich Tibbett <richt@opera.com>, Amol Bhagwat <a.bhagwat@cablelabs.com>
Please let me check if I get everything right. In case of Mark's approach, the Browser is doing all the work, so the UA knows which language to talk when dealing with LAN Devices/Services. It means that any specificities not known by the browser will block the use of such device/service. Here I am thinking mainly of two things: private extensions to the model (e.g. UPnP), or new spec just released and not yet implemented by the browser. This would then go into Mark's case b), I guess: browser extension. I am wondering whether this is a good thing, making the user install specific extensions to deal with new or specific LAN devices. With current NSD approach, I understood that the JS web app can talk directly to the LAN device. So new devices are immediately usable with new JS web app since no browser update is necessary. With regards to Graham's point, is there a possibility for the application to send specific commands to the LAN device (specific enough that the browser cannot map because it does not know them) ? Thanks Jean-Baptiste -----Message d'origine----- De : Clift, Graham [mailto:Graham.Clift@am.sony.com] Envoyé : vendredi 25 avril 2014 02:52 À : Vickers, Mark; Daniel Davis Cc : public-web-and-tv; frederick.hirsch@nokia.com; public-device-apis@w3.org; Dominique Hazaël-Massieux; Rich Tibbett; Amol Bhagwat Objet : RE: DAP Request: Feedback on Applicability and implementation plans for Network Service Discovery I would go along with Mark's idea but maybe take a few steps further. It would be very interesting to see a proposal for NSD that provided the richness that a CORS enabled NSD solution offers but without the dependency on CORS or without any dependency on the users faith in privacy/security of an application when it accesses the LAN. One way I see (and maybe there is something already in the space) is to abstract away all the device/content discovery in the UA such that the application never knows anything about what is on the LAN but has an abstract reference to it that only the UA understands how to translate and that the UA can present to the user for selection when instructed to by the application, the result of the selection then being sent to the application again as an abstract reference. The application can only know that there is some device there that can play a piece of content, or that there is some kind of content out there that meets a search criteria that it itself can play. However it never sees device names, friendly names, content names and so on. When playing content the url is even abstracted such that only the UA can translate (underneath the video element for example) into a real location for the content. Done this way I don't see why there would be concerns over CORS or privacy/fingerprinting. Regards Graham -----Original Message----- From: Vickers, Mark [mailto:Mark_Vickers@cable.comcast.com] Sent: Thursday, April 24, 2014 4:38 PM To: Daniel Davis Cc: public-web-and-tv; frederick.hirsch@nokia.com; public-device-apis@w3.org; Dominique Hazaël-Massieux; Rich Tibbett; Amol Bhagwat Subject: Re: DAP Request: Feedback on Applicability and implementation plans for Network Service Discovery +Amol > * Are device manufacturers willing to support CORS in order to enable NSD support? A key thing would be to work with organizations that define home networking protocols (UPnP, DLNA, .) to review the spec and see if they want to add a CORS requirement to their specifications. Giuseppe has initiated those conversations. Of course, this only gives access to the subset of future devices that add CORS support. It doesn't give access to any existing home network devices. As I've mentioned before, there is another, universally deployed model that allows full access to any existing LAN devices without a new W3C spec and safely avoids the security issue. Instead of giving external websites access to the LAN (which drives the security requirements), the user agent can provide access to the LAN. Since the device running the user agent is already behind the firewall on the LAN, it can access the LAN services without extra security. The user agent needs to provide a user interface for any specific or general LAN access. Examples of this are: 1. How every browser prints a web page to a LAN printer 2. How every browser saves website files to a LAN storage device 3. How Safari's Bonjour menu browses LAN devices This approach could be applied to any given LAN service and implemented by: a. Browser vendors (e.g. 1-3 above) b. Browser extensions (e.g. GoogleCast extension, which plays video to ChromeCast devices or vGet Chrome Extension, which plays videos to discovered UPnP/DLNA devices) c. External spec groups by mandating user agent behavior (e.g. DLNA CVP-2, which specifies that user agents must implement DLNA protocols to discover and connect to LAN-based video service gateways, which provide the URL for the browser. Since the user agent finds the resources before the browser is started, there was no need to add any LAN access APIs like NSD.) I still think this a superior model for integrating the LAN into the Web. Thanks, mav On Apr 16, 2014, at 11:55 PM, Daniel Davis <ddavis@w3.org> wrote: > Hello Web and TV IG members, > > Unfortunately there wasn't much time to discuss this on yesterday's > call but we'd still like feedback to Frederick's questions below and > your thoughts on the Network Service Discovery (NSD) API. > > For example: > * What would be necessary to keep interest in the API going? > * Are device manufacturers willing to support CORS in order to enable > NSD support? > * Are stakeholders willing to work with user agent vendors for > implementation? > > and similar comments. > > Thank you in advance, > Daniel > > On 10/04/14 04:58, Frederick.Hirsch@nokia.com wrote: >> Dear Web & TV Interest Group Chairs and members: >> >> The Device APIs working group [1] has produced a "Network Service Discovery" draft [2] in which the Web & TV Interest Group [3] has shown interest [4]. >> >> "This specification defines a mechanism for an HTML document to discover and subsequently communicate with HTTP-based services advertised via common discovery protocols within the current network." >> >> This allows a web page to discover and establish communication with services on a local network. The specification takes into account Zeroconf, SSDP and DIAL. The specification does not define the application communications once the connection is established. >> >> We are concerned that we will not have adequate implementer interest >> in this specification to justify progressing it further [5][6][7], and are thus wondering if the the Web & TV Interest Group, as a "customer" of this work would be willing to work with us on obtaining implementers input and feedback on this specification. Without proper interest from implementers the Device APIs Working Group would have no other option than to stop work on it. >> >> We are seeking feedback from the Web & TV Interest group and implementers to the following questions: >> >> 1. Does this specification address use cases and needs of concern to you? >> >> 2. In particular, in light of the recent additional requirement of CORS [8] support from local network services, it is likely that this specification would only work with recently updated devices. Do you plan to deploy CORS support in your UPnP/DIAL/Zeroconf based devices? >> >> 3. Are you working on implementations of this specification? If so, have you determined whether these implementations are likely to find their way into a well-deployed browser? >> >> 5. Can you provide any assistance in determining implementers plans, and possibly work with implementers on providing input and feedback on the future of this specification? >> >> Feedback you give us is important to DAP taking appropriate next >> steps and will be much appreciated. Please send any comment to the >> DAP public list (cc'd) , public-device-apis @ w3.org >> >> Thanks >> >> regards, Frederick >> >> Frederick Hirsch, Nokia, @fjhirsch >> Chair Device APIs Working Group >> >> [1] http://www.w3.org/2009/dap/ >> >> [2] http://www.w3.org/TR/2014/WD-discovery-api-20140220/ >> >> [3] http://www.w3.org/2011/webtv/ >> >> [4] >> http://lists.w3.org/Archives/Public/public-device-apis/2011Jul/att-00 >> 98/minutes-2011-07-20.html#item07 >> >> [5] >> http://lists.w3.org/Archives/Public/public-device-apis/2014Mar/att-00 >> 24/minutes-2014-03-27.html#item08 >> >> [6] >> https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/n >> etwork$20service$20discovery/blink-dev/HT0KZKuTLxM/S3w-SdvjZfUJ >> >> [7] https://bugzilla.mozilla.org/show_bug.cgi?id=914579 >> >> [8] http://www.w3.org/TR/cors/ >> >> For tracker, this completes ACTION-687 >> > ----------------------------------------- "Privileged/Confidential information may be contained in this e-mail and attachments. This e-mail, including attachments, constitutes non-public information intended to be conveyed only to the designated recipient(s). If you are not an intended recipient, please delete this e-mail, including attachments, and notify us immediately. The unauthorized use, dissemination, distribution or reproduction of this e-mail, including attachments, is prohibited and may be unlawful. In general, the content of this e-mail and attachments does not constitute any form of commitment by VIACCESS SA." -----------------------------------------
Received on Friday, 25 April 2014 08:01:47 UTC