Hi all,I would like to propose adding support for a Wi-Fi Direct API for Chrome Web Store apps. The end goal is to have an API similar to the Android's Wi-Fi P2P one, as a Javascript extension and/or a NaCl extension.If I understood correctly, the work necessary for doing so would be to:- Build wpa_supplicant with the required p2p support.- Add p2p support to shill, and expose a dbus API for that.- Add the required Chrome renderer/plugin classes that ultimately implement the API, and communicate through dbus to shill.I'm not sure if I should start proposing the API already to Pepper or as a Javascript chromium extension, but since there's some work to be done on shill first, I thought I could start working on it even before getting that API set.
My questions are:1) Is this a desirable feature?2) Can I start working on it immediately, or should I get an approval on an API proposal document first? (and which group should I send it to?)2) Does it make sense to start looking at Mojo for the implementation, or is that too early?Thank you for any help,Rafael
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
--
On Thu, Sep 11, 2014 at 4:18 PM, Scott James Remnant
<key...@chromium.org> wrote:
> All of those kinds of devices are handled at the system level, and would not
> need Chrome APIs...
What do you mean? That such "functionality" would be implemented on a
system menu, just like ChromeOS' ethernet and wireless connection?
> Can you give an example of the top 5 devices you can purchase off Amazon
> today that you would expect to be used?
http://www.amazon.com/Samsung-SmartCam-Wireless-Monitoring-Setting/dp/B00H8TAM8Q/ref=sr_1_2?s=electronics&ie=UTF8&qid=1410463917&sr=1-2&keywords=wi-fi+direct
http://www.amazon.com/Wirelss-Direct-Dongle-Miracast-Sharing/dp/B00GD8GQBA/ref=sr_1_3?ie=UTF8&qid=1410463476&sr=8-3&keywords=wifi+direct
http://www.amazon.com/Epson-WorkForce-Smartphone-Compatible-C11CD16201/dp/B00JXLGEUC/ref=sr_1_7?ie=UTF8&qid=1410463476&sr=8-7&keywords=wifi+direct
http://www.amazon.com/Sony-BDPS3200-Blu-ray-Player-Wi-Fi/dp/B00HPMCO4Q/ref=sr_1_15?s=electronics&ie=UTF8&qid=1410463917&sr=1-15&keywords=wi-fi+direct
http://www.amazon.com/LG-GOOGLE-D821-FACTORY-UNLOCKED/dp/B00GG63522/ref=sr_1_1?s=wireless&ie=UTF8&qid=undefined&sr=1-1&keywords=nexus
I know, but the functionality must be presented to the user, so he can
choose which device he is going to connect to. For the Bluetooth
example, there's a menu for managing devices.
Additionally, if this was totally handled by the OS, I don't see why
Android would expose such API to its apps.
> There's only one printer in that list, and that's already supported by
> Chrome OS via Cloud Print. None of the other types of devices are listed
> there?
OK, but you need the printer to be connected to the internet in order
to use Cloud Print, correct? With Wi-Fi direct, that wouldn't be
necessary.
Additionally, the "Wirelss Wifi Direct Dongle" fits under the
"display" type, by using Miracast streaming. Other examples of
display:
http://www.amazon.com/Miracast-Dongle-Android-Samsung-Smartphone/dp/B00EHJOLWS
http://www.amazon.com/Sony-BRAVIA-KDL55HX750-55-Inch-Internet/dp/B006U1VH64#productDetails
Speaker (discontinued):
http://www.amazon.com/Pioneer-XW-SMA4-K-featuring-Discontinued-Manufacturer/dp/B00903HKXI
I'm sorry, I can't find so many devices available for it yet. Although
the technology is not that new, it doesn't seem that there are many
devices out there yet. Anyway, at least for now, I'm more interested
on video streaming.
That's indeed very interesting! I just need to confirm that we have no
requirements such as the two last cases must be fulfilled even if no
AP is present.
Then, for the miracast case, would it be better to write an specific API for it?
"Support Miracast" is an interesting use case, that exercises the API approach - I imagine its implementation would look not unlike the Chromecast extension.
So, in an attempt to summarize the thread and define a next step:Would it sound okay if we develop a design document and implementation proposal, explaining what kind of API we would like to add to expose at least Miracast as a start?
Scott