Re: [Telepathy] TURN servers in Empathy

2015-02-16 Thread Diane Trout
On Monday, January 26, 2015 12:01:52 Olivier Crête wrote: On 26/01/15 11:46 AM, Dominik George wrote: 1. STUN and TURN servers can be published throush XEP-0215; this also allows the use of temporary credentials. Jitsi and Prosody already support that, and I personally think it is a valid

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Dominik George
Hi, I might be out of touch with the current state, but I believe that's correct, yes. Google relays are somewhat unlike standard TURN because Google has a non-standard auto-discovery protocol based on communicating with our home XMPP server, which telepathy-gabble knows how to use while

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Dominik George
Hi, The best first step would probably be to make the TURN relay hostname, port, username and password configurable as parameters in src/protocol.c, the same way the STUN server hostname/port and HTTPS proxy hostname/port are currently configurable, then propagate those into the

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Dominik George
Hi, I cannot seem to establish calls in Empathy through XMPP/Jingle and our TURN server. I don't think non-Google TURN servers are supported, either automatically-detected or manually-configured. Media streams are only routed through Google if (a) the media stream is not getting

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Dominik George
Hi, The best first step would probably be to make the TURN relay hostname, port, username and password configurable as parameters in src/protocol.c, the same way the STUN server hostname/port and HTTPS proxy hostname/port are currently configurable, […] I'd even say the existing stun-server

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Simon McVittie
On 24/01/15 19:04, Dominik George wrote: I cannot seem to establish calls in Empathy through XMPP/Jingle and our TURN server. I don't think non-Google TURN servers are supported, either automatically-detected or manually-configured. I found rumours here [1] that Empathy/Telepathy is using

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Olivier Crête
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 26/01/15 08:51 AM, Dominik George wrote: Hi, The best first step would probably be to make the TURN relay hostname, port, username and password configurable as parameters in src/protocol.c, the same way the STUN server hostname/port and

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Dominik George
Hi, I'd even say the existing stun-server parameters could simply be reused and the UI element be relabled as STUN/TURN-Server. At least, I cannot see any reason why the STUN server should be different from the TURN relay, and other clients (including Jitsi) do that as well. Except that

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Olivier Crête
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 26/01/15 09:00 AM, Dominik George wrote: If the peer (the other person in the call) proposes a relay server candidate, again, that candidate will be used if higher-priority direct connections fail; so if you are not using a Google account,

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Nicolas Dufresne
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 01/26/2015 08:06 AM, Dominik George a écrit : I conclude from this that, in essence, Telepathy does not support TURN or other relays for anything except Google, and to fix that, work has to be done to port that functionality so that it works

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Dominik George
Hi, 2. the XMPP Wiki suggests that it is a valid solution to look for _turn SRV records via DNS. That ignore the fact that you need to give it a username/password. Authentication in TURN is optional (though the default) and servers exist that share credentials with the XMPP account. -nik

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Olivier Crête
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 26/01/15 11:46 AM, Dominik George wrote: 1. STUN and TURN servers can be published throush XEP-0215; this also allows the use of temporary credentials. Jitsi and Prosody already support that, and I personally think it is a valid solution;

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Simon McVittie
On 26/01/15 16:35, Olivier Crête wrote: On 26/01/15 08:51 AM, Dominik George wrote: Technically, the servers could be split, but as all relevant TURN server implementations also do STUN and there is no reason to disable that, I think it is a very safe bet. All TURN servers are also STUN

Re: [Telepathy] TURN servers in Empathy

2015-01-26 Thread Dominik George
Hi, ... but not every STUN server is also a TURN server. In particular, there are lots of free community-provided STUN servers out there. telepathy-gabble defaults to (iirc) stun.telepathy.im, which is provided by Collabora; that's sufficient to get through relatively friendly NATs, but it

[Telepathy] TURN servers in Empathy

2015-01-24 Thread Dominik George
Hi, I cannot seem to establish calls in Empathy through XMPP/Jingle and our TURN server. I found rumours here [1] that Empathy/Telepathy is using some Google relay server instead. While this would, due to firewall policies, explain why calls cannot be established, above all I'd like to inquire