Re: "discovery api" shim using chrome extension

Just a quick note, it is not intended for the raw sockets API to be
available to extensions.  Only the new form Chrome Apps, so this might
explain why it is not working for you.

P


On Thu, Aug 2, 2012 at 10:00 AM, Giuseppe Pascale <giuseppep@opera.com>wrote:

> Hi,
> interesting work :)
>
> Would you be able to write the demo in a way that it also works if the
> browser happens to have support for the API natively?
>
> /g
>
>
>
> On Thu, 02 Aug 2012 08:17:15 +0200, KOMATSU Kensaku <
> kensaku.komatsu@gmail.com> wrote:
>
>  Hi all,
>>
>> I'm now developing "discovery api[1]" shim using chrome extension's
>> "raw socket api" [2].
>> The current version of shim is roughly implemented and only support
>> UPnP M-SEARCH (it means mDNS and white-list xhr features aren't
>> implemented yet).
>>
>> Here is a repository fot it :
>>   https://github.com/**KensakuKOMATSU/chrome-upnp<https://github.com/KensakuKOMATSU/chrome-upnp>
>>
>> Here is a demo site to check UPnP device via "discovery api" (M-SEARCH).
>>   http://upnp.komasshu.info/ (installation of the extension is required)
>>
>> Please note that to try this extension and shim, specific version of
>> Chromium
>> is required(I found r148782 works well). Because current Canary
>> and Dev channel doesn't support "raw socket api". I'm not sure the reason
>> why,
>> but I guess it is due to the fact that this api is "moving out of
>> experimental"[3].
>>
>> I hope this library helps the progress of WI + SD works. I'll be
>> appreciate
>> if I could have any comments and feedbacks :)
>>
>>
>> [1] http://people.opera.com/richt/**release/specs/discovery/**
>> Overview.html<http://people.opera.com/richt/release/specs/discovery/Overview.html>
>> [2] http://code.google.com/chrome/**extensions/trunk/socket.html<http://code.google.com/chrome/extensions/trunk/socket.html>
>> [3] http://code.google.com/p/**chromium/issues/detail?id=**
>> 130379&q=socket+experimental&**colspec=ID+Pri+Mstone+**
>> ReleaseBlock+OS+Area+Feature+**Status+Owner+Summary<http://code.google.com/p/chromium/issues/detail?id=130379&q=socket+experimental&colspec=ID+Pri+Mstone+ReleaseBlock+OS+Area+Feature+Status+Owner+Summary>
>>
>> ---
>> Kensaku Komatsu
>> NTT Communications
>>
>
>
> --
> Giuseppe Pascale
> TV & Connected Devices
> Opera Software
>
>


-- 
Paul Kinlan
Developer Advocate @ Google for Chrome and HTML5
Watch my I/O talk: http://www.youtube.com/watch?v=O1YjdKh-rPg
G+: http://plus.ly/paul.kinlan
t: +447730517944
tw: @Paul_Kinlan <http://twitter.com/paul_kinlan>
LinkedIn: http://uk.linkedin.com/in/paulkinlan
Blog: http://paul.kinlan.me
Skype: paul.kinlan

Received on Thursday, 2 August 2012 19:24:33 UTC