Skip navigation
All Places > Ignite Realtime Blog > 2011 > May
2011

I am currently looking at adding peer2peer support to Openfire using the Redfire plugin which has support for both RTMP and the new RTMFP (peer to peer) protocol from Adobe. I would like to get some feedback from the community to validate my thinking and confirm I am on the right track.

 

I know that I should be looking at Jingle and I also know I should be looking at XEP-0174: Serverless Messaging, but they don't serve my needs and the XMPP council had reservations about my RTMP ideas for Jingle because RTMP and RTMFP are considered proprietary. Unfortunately, Flash Player has not gone away and the open HTML5 websockets is still taking its first steps as a toddler.

 

I have developed a new client-side RTMFP connection class for XIFF that enables clients to dynamically become nodes or supernodes (like Skype) using RTMP and RTMFP. Nodes will connect and distribute messages to each other without a server using RTMFP, while super-nodes will connect to Openfire via the Redfire connection manager using RTMP and act as proxies for their neighbour nodes. Like Openfire clustering, disconnecting super-nodes are replaced immediately by election among the neighbour nodes.

 

XMPP Message packets between neighbours can be sent directly peer to peer if there is a route and server messaging logging is not mandatory.

 

In theory, a fully populated enterprise muticast 192.168.x.x network with aproximately 64K users would only need 256 Openfire socket connections

 

Image2.png

 

As a first step towards Openfire peer2peer, the latest version of the Redfire plugin for Spark has support for RTMFP. If there is a route between clients having a two-way chat or multi-user chat, then the audio and video is sent peer2peer using RTMFP. There should be some performance gains with multiple participants in a chat room. Screenshare and remote desktop control is still done via Openfire server using RTMP with Red5.

The ignite realtime community would like to announce the final release of Spark 2.6.0.

 

After more than 3 years, we have moved the product quite a bit and it has to be noted that the contributions came from all over the world to make this release possible. Numerous issues and feature requests were adressed duringt the development phase:

  • Removal of commercial libraries
  • Move to Apache 2.0 license
  • Introduction of different skins
  • Small enhancements of the interface
  • Support of a privacy/invisible mode
  • Enhancements of the conference room features
  • Ability to set default data in ini files for corporate customizing (requires repacking)
  • New Smack (version 3.2) library
  • Reworked reconnection mechanisms
  • Nummerous technical enhancements

 

More details can be found in the attached changelog.html

 

The download links for the release 2.6.0 are on the Downloads page.

 

Further development

 

The next release 2.6.1 will follow within the next 8 weeks and include some more graphical and functional enhancements. We would appreciate contributions to the source code.

 

Known Issues

  • Missing Phone button. Resolution: This is caused by a missing STUN server to help the start of the phone connection. If you want to use this feauture you can activate it in Openfire and add the property "stunFallbackHost" to the file spark.properties. You can add your Openfire server or some external stun server like "stun.xten.net" which used to be a hard coded default in Spark.
  • File transfer does not work. Resolution: Use a nightly or wait until 2.6.1 is released.
  • Mac Version: Look and Feel is not native. Resolution: Use the Preference Menue to Switch Appreance to "Max OS X". This resolved this issue. There will be a hot fix release for Maac to adress this issue.
  • Mac Version: Sound does not work. Resolution: Make sure that Spark is executed in 32 bit mode.
Daryl Herzmann

Smack 3.2.0 Released!

Posted by Daryl Herzmann Champion May 5, 2011

On behalf of Robin Collier

 

Smack 3.2 has been released on May 5, 2011.

 

It has been well over 2 years since the last release, but much work has been done to fix bugs and add new features.

 

That includes new support for

  • Addition of pubsub (XEP-0060)
  • Addition of Attention (XEP-0224).
  • Fixes and improvements for over 40 issues

 

After a three month beta period, the long overdue next version is now available.

 

You can get it from the Downloads page.


Filter Blog

By date: By tag: