[Standards-JIG] Invitation to use XMPP based game from Instant
Messaging Application.
Tim Hentenaar
tim.hentenaar at securityconfidence.com
Wed Aug 23 16:17:54 CDT 2006
Op wo, 23-08-2006 te 20:37 +0200, schreef Michal vorner Vaner:
> Well, why jingle? :-O I guess chess game is neither time nor data amount
> critical to use jingle for it. The game is simply over the XMPP stream,
> this is just about not running the game all the time and still let other
> know "I would not say no to a game".
Now that I think more about it, Jingle does in fact seem like too much overhead, even for basic signaling.
We could use a Stream Initiation profile for session control and negociation.
For games that stream large amounts of data, or don't/won't support
XMPP, one could develop some sort of tunneling through the client (e.g.
client initates game session by negociating over XMPP, clients connect,
etc.) Such that the app dosen't have to be XMPP-aware in order to work.
The data in this case would be better sent OOB IMHO. Prehaps something
like:
<!-- SI Response -->
<query xmlns='jabber:iq:oob' sid='a0'>
<url>doom://127.0.0.1:666/</url> <!-- game short name :// ip [: port] / [other information to pass] -->
</query>
Or even simply a uri of "game://ip:port/game_name=doom".
For chess, something like what Robert's "back-o-the-napkin" protocol
shows would seem ideal.
I have many more ideas in regards to such a setup, I just need to sort
them out. ;)
> > It would also definitely be intersting to also be able to use something
> > like PubSub so that any number of users could subscribe to, and watch a
> > chess game if the app were Jabber-aware :P
>
> Hm, all these pubsub things have one big problem: I did not yet met a
> server supporting PEP and PubSub itself is heavilly overcomplicated for
> such a simple thing.
I believe ejabberd support pubsub, but I haven't tested it yet.
Well, it could be done without something as monsterous as pubsub (ex:
having the capacity to have n number of people 'watching' a
game session, and have the relevant packets broadcast to all listeners.
It would certainly be trivial to implement.
e.g.:
<x xmlns="jabber:x:game:chess">
<propose action="watch" />
</x>
<!-- ... Accept / Deny ... etc. -->
--
Tim Hentenaar
Security Confidence Corporation
E-Mail: Tim.Hentenaar at SecurityConfidence.com
Tel: +1 (513) 388-4500 Ext. 102
Web: http://www.SecurityConfidence.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dit berichtdeel is digitaal ondertekend
Url : http://mail.jabber.org/pipermail/standards/attachments/20060823/ff6d7b23/attachment.pgp
More information about the Standards-JIG
mailing list