Bug 93972

Summary: Use custom TURN server
Product: Telepathy Reporter: Fabrice Bellet <fabrice>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: mike
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: util: prefer iceudp transport to google p2p
call-stream: use relay information from environment variable
wocky-jingle-info: use relay information from environment variables

Description Fabrice Bellet 2016-02-02 20:23:57 UTC
Created attachment 121471 [details]
util: prefer iceudp transport to google p2p

This patch is a workaround to pass relay information (TURN server and credentials) to telepathy-gabble. This patch echoes a discussion that occured on the mailing-list one year ago about the possibility to add a TURN server configuration in empathy:

  http://lists.freedesktop.org/archives/telepathy/2015-January/006649.html

My patch is very simple, as it just reads information from environment variables, the only non-trivial modification is the need to swap the order of the transports in jingle_pick_best_resource(), so ICE UDP is preferred to google p2p.
Comment 1 Fabrice Bellet 2016-02-02 20:24:39 UTC
Created attachment 121472 [details] [review]
call-stream: use relay information from environment variable
Comment 2 Fabrice Bellet 2016-02-02 20:25:20 UTC
Created attachment 121473 [details] [review]
wocky-jingle-info: use relay information from environment  variables
Comment 3 GitLab Migration User 2019-12-03 20:01:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/281.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.