I also passed around some of your ideas about using Opera Unite
functionality in Brass Monkey, around Opera. One of our spec
developers, a guy called Rich Tibbett, has some really useful input
here, which is as follows:
"I think we have everything Brass Monkey would need in Unite today and
with a bit of cleverness, they should be able to hook up web pages to
their controllers via their own Unite-based UPnP API.
It is possible to actually hack up UPnP connectivity between a Unite
app and an extension. The following API is available within an
extension's background process (though we don't advertise this as a
feature yet):
http://dev.opera.com/libraries/servicediscovery/
If I'm not mistaken, Brass Monkey would be able to do the following:
1. Create a Brass Monkey Unite app that provides two UPnP HTTP
endpoints:
a. a Controller to Unite API.
b. a Unite to Extension API.
2. Create a Brass Monkey controller device (e.g. mobile) that
discovers and connects to any running Opera Unite API service (a) via
the UPnP/SSDP discovery protocol.
3. Create a Brass Monkey extension that discovers and connects to any
running Opera Unite API service (b) via the UPnP/SSDP discovery
protocol. The extension can then expose an API for ALL web pages to
plug-in to for creating their own Brass Monkey experiences (i.e. they
can inject a DOM API via the extension's injected script resource).
Voila, complete end to end gameplay for Brass Monkey users in Opera
Desktop.
It would be nice if users could install both the Unite and Extension
bits in one install process...but that's something we've also been
considering for some time but are yet to implement.
HTH and please feel free to share. If Brass Monkey need any other
pointers then let us know. If they come up with a list of outstanding
requirements beyond those listed above then that would be great for
our product planning going forward."