[jitsi-dev] About STUN ,jingle ICE settings


#1

Hi Pawel,
    Thanks for your reply, it's really helpful.
    But where i can set the default STUN server in jitsi-android? I only find STUN port settings (3478)in class JabberAccountRegistration.
    Thanks.
Regards,
Ray

···

------------------------------

Message: 5
Date: Tue, 16 Jul 2013 20:30:06 +0200
From: Pawe? Domas <pawel.domas@jitsi.org>
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] About STUN ,jingle ICE settings
Message-ID:
  <CAME7wR4wWDF7nAMzDgSeBQD7w8QwMaqwTimKzuNnsfXDRytTRA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hi Ray,

On Tue, Jul 16, 2013 at 4:43 AM, MAXWELL <95143848@qq.com> wrote:

Hi guys,
    I want to know if a STUN server is necessary ??do i have to set it up
myself? or just enough to enable the ICE?
    And would someone expalain the settings just like jingle ICE ,Upnp,etc.
    Thanks.
Regards ,
Ray

It depents if you want to deploy your own service solution or just use
other providers. If you won't provide at least STUN server then it
will probably work only on LAN, as STUN is used to discover your
"world" addresses that are triggered for check during ICE
negotiations. I recommend you to search net what ICE is all about and
what STUN and TURN servers are for. TURN are used when all other ways
fails so it is nice thing to have if you want to guarantee that your
service will work. I'm not sure, but Jingle nodes are some kind of
TURN service and they work with XMPP services.

If you just want to use Jitsi with some other providers it should work
with default settings, as there are some default STUN servers provided
and Jingle Nodes discovery. Use the settings to add your own
additional servers.

Regards,
Pawel