diff options
author | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2010-11-30 17:31:49 -0500 |
---|---|---|
committer | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2010-12-03 15:50:39 -0500 |
commit | a7a32a3d01c73f7952de0fceb9ea923aec6fad3b (patch) | |
tree | 5b2c6eb8c2e7c785110ed1c03ce0811f18551870 | |
parent | 349d3163f14558c5e6a0e1574b153759f4a1af54 (diff) |
media: relayed candidates need base-address and base-port
-rw-r--r-- | butterfly/media/stream_handler.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/butterfly/media/stream_handler.py b/butterfly/media/stream_handler.py index 47afc51..9f514c8 100644 --- a/butterfly/media/stream_handler.py +++ b/butterfly/media/stream_handler.py @@ -303,8 +303,9 @@ class ButterflyStreamHandler ( base_port = port elif ttype == telepathy.MEDIA_STREAM_TRANSPORT_TYPE_RELAY: ttype = "relay" - base_addr = None - base_port = None + local_ip = self._conn.msn_client.local_ip + base_addr = local_ip + base_port = port return MediaCandidate(id, component_id, proto, priority, username, password, ttype, ip, port, base_addr, base_port) |