Wednesday, August 26, 2009

ejabberd STUN Server

ejabberd is now much more Jingle friendly with its STUN server.

STUN (Simple Traversal Utilities for NAT) is a powerful address/network discovery tool, that can helps NAT traversal, which is the main requirements for a media(audio/video) sessions.
NAT traversal techniques are required for peer-to-peer and Voice-over-IP (VoIP) applications. Most techniques requires discover services from a publicly-routable IP address.
STUN is a method that uses the server only when establishing the connection, which saves bandwidth costs server-side, decreases latency and also boosts quality.

Jingle protocol uses STUN in a very efficient and easy way, making STUN the perfect combination for Jingle enabled Clients in order to provide peer-to-peer and great quality media sessions.

Check the diagram to understand why do you need and what can you do with a STUN Server on ejabberd:



Check it out:
svn co http://svn.process-one.net/ejabberd/trunk/src/stun/
http://svn.process-one.net/ejabberd/trunk/doc/guide.html

2 comments:

  1. Hey Thiago.

    STUN will be part of ejabberd 2.1.0.

    Beta2 added this feature. As soon as they release the final version I'll try it and post in my blog about the new version.

    Regards,

    ReplyDelete
  2. http://www.ejabberd.im/ejabber

    Is it ejabber, Ejabber, Ejabberd, eJabber, eJabberd, or ejabberd?

    Correct Spelling
    It happens that people spell the name of this Jabber/XMPP server wrongly. They talk about ejabber, Ejabber, Ejabberd, eJabber, or eJabberd. However, the only right spelling is ejabberd. Thus:

    no capitalization,
    and a "d" at the end.

    ReplyDelete