Tigase STUN

Product Categories: 

Jabber, XMPP, IM (Instant Messaging), IC (Instant Communication) service were originally used mostly for exchanging text information. Text messages, text user status, text contacts information such as vCards were the main data transmitted in such systems. Very limited media exchanging took place as in-band transmission for user's photo called avatar.

This times are long gone. Now people want to exchange other, usually binary data such as different types of documents, photos, videos, databases. Everything in close to real-time. Moreover text communication, slowly, becomes obsolete because users want to do voice or video chats.

This is all easily supported by most of XMPP or other IM servers, because in most cases the server acts as a binary connection handshaking proxy and the actual transmission takes place via p2p connection or through some intermediate proxy server. In rare cases as in-band transmission. There are many options available but always the preferred way to send large chunks of binary data is to directly connect to users. This is the most efficient and cost effective way.

Unfortunately direct p2p connection between users is very often a difficult thing to do because of NATs (Network Address Translators). Users are behind NATs, so their devices are invisible and inaccessible from the internet. If software application connects to the internet from a device behind NAT it has no way to tell what is it's public/static IP address, so it cannot offer any options to other party to establish p2p connection. This is where an intermediate server, STUN server comes in handy. It allows application to discover it's public IP address and negotiate optimal direct connection with the other end for media sending session.

Tigase offers a STUN server which is Tigase XMPP Server component. It can work as an integrated part of the XMPP server or it can be deployed as a separate, standalone STUN server.

The solution offers following benefits to your installation:

  • Makes it possible to establish p2p connection between 2 users behind NATs
  • Reduces load on your servers by removing most of the binary transfers form your proxy servers
  • Reduces costs of running your service by reducing load and network traffic

If there is a need for media exchanging for users connected to XMPP service this is an ideal solution. It is well integrated with the Tigase XMPP Server, can be deployed on many machines and does not require a complex setup or configuration.

What we like about this solution is that in a standard and simple way it solves a complex problem.

Get in touch

We provide software products, consulting and custom development services

Tigase, Inc.
100 Pine Street, Suite 1250
San Francisco, CA 94111, USA
Phone: (415) 315 9771

Follow us on:


  • Tigase Messenger for iOS has been released! Our Thanks to all the Beta Testers (drawing soon). Check it out here https://t.co/h91jH8cYSE 3 weeks 12 hours ago
  • Try a new twist on XMPP: Stateless XMPP https://t.co/cybgEfdSMm 4 weeks 16 hours ago
Back to Top