lunedì, 07 aprile 2008
I've recently been involved in the problem of Flash (7.0 and following) XML socket.
Flash uses a "strange" kind of packet transfer in XML socket so Ejabberd 2.0.0 is not compatible with some Flash version.
I've seen a patch for Ejabberd 1.1.X versions and I've adapted it to fit with ejabberd 2.0.0.
Please note that this patch changes configure.ac file, but you must DO NOT run aclocal command.
At the moment aclocal.m4 file contains some macro that aclocal command will overwrite!
So please follow these steps to apply this patch to Ejabberd 2.0.0:

patch -p0 <flash-xml-ejabberd-2.0.0.diff
rm configure
autoconf
./configure --enable-flash-hack
make


And you'll be able to use XMPP like this:
<?xml version='1.0'?>
<flash:stream to='example.net' xmlns='jabber:client'
xmlns:flash='http://www.jabber.com/streams/flash' version='1.0'>
</flash:stream>
The patch is available here.
posted() stefko times() 13:03 | Permalink | commenti
Commenti
| commenti (popup)
flash, patch, ejabberd, xml socket