[pjsip] SIP SIMPLE for GAMES

Thomas Plotkowiak plotti at gmx.net
Mon Apr 28 10:51:26 EDT 2008


It seems though there is no implementation yet that supports it.

Btw. If anybody is interested I implemented such a SIP game for my thesis
using mainly pjsua and mixing on client side.  For the data exchange i used
SIP SIMPLE, speaking of marshalling Game states into the MESSAGE Type.

It works quite nice, with a openser registrar and allows you to easily equip
existing games a ingame voice possibility.
If anybody is interested in sharing some thoughts about it just drop me a
line.


2008/4/28 Joegen E. Baclor <joegen.baclor at gmail.com>:

> See RFC 4575.  http://www.ietf.org/rfc/rfc4575.txt
>
> Thomas Plotkowiak wrote:
>
> > First the question:
> > Is it theoretically possible to get a list of all available users on a
> > given REGISTRAR, assuming we own the REGISTRAR?
> >
> > Then the background:
> >
> > I am thinking of using SIP SIMPLE with a REGISTRAR like OPENSER as a
> > Client-Server Game Architecture. SIP SIMPLE Messeging is used to exchange
> > relevant game state information, and the SUBSCRIBE/NOTIFY service to figure
> > out who is part of the game.
> >
> > But for an initial boot-strapping setup I would need to transfer the
> > current list of users of the game to the new client. Then the client can
> > take over and subscribe the presence information of those users. In case a
> > new person enters the game the registrar should be able to update the
> > players about a new user.
> >
> > Assuming that getting a list directly from the registrar I thought of
> > running a client UA on the same REGISTRAR machine who is the entry point to
> > the game:
> >
> > - every time a new player wants to connect has to connect to this
> > Central UA running on the REGISTRAR machine.
> > - This central UA adds the new player to his buddy list.
> > - Then he sends the new player his current buddy list.
> > - Then he sends a this new buddy address to everybody in his buddylist.
> >
> > Once a client is set up, he sends update information about his state to
> > every online buddy on his received list.
> >
> > What do you think of this? Is that raping the SIP SIMPLE protocol?
> >
> > Cheers
> > Thomas
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080428/3a23b9b8/attachment.html>


More information about the pjsip mailing list