[Telepathy] TURN servers in Empathy

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Jan 26 05:38:30 PST 2015


On 26/01/15 13:19, Dominik George wrote:
> What I do not seem to be good at is finding my way through all the
> Telepathy components. Would you be able to give me a hint as to what to
> look into to port this functionality to global XMPP?

I believe all the relevant code would be in telepathy-gabble (the key
word to look for is "relay"): I think the lower-level bits in Farstream
are the same for standard TURN relays as for Google relays.

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 media-calling code in the same way as Google relays. For Google
accounts, the Google relay would become a default used if there is no
manually-configured TURN relay.

If there is a usable auto-discovery mechanism, e.g.
<http://xmpp.org/extensions/xep-0215.html>, you could add that as a next
step.

I am not currently working on Telepathy and will not be able to review a
patch, but hopefully someone else can.

    S




More information about the telepathy mailing list