Merge
This commit is contained in:
commit
df7e278ed1
|
@ -2158,6 +2158,7 @@ $T will be replaced by auto-not-available timeout</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="invisible_char">●</property>
|
<property name="invisible_char">●</property>
|
||||||
|
<signal name="changed" handler="stun_server_entry_changed"/>
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
|
|
|
@ -16,6 +16,7 @@ Handles Jingle RTP sessions (XEP 0167)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import gobject
|
import gobject
|
||||||
|
import socket
|
||||||
|
|
||||||
import xmpp
|
import xmpp
|
||||||
import farsight, gst
|
import farsight, gst
|
||||||
|
@ -71,7 +72,7 @@ class JingleRTPContent(JingleContent):
|
||||||
# pidgin and telepathy-gabble don't follow the XEP, and it won't work
|
# pidgin and telepathy-gabble don't follow the XEP, and it won't work
|
||||||
# due to bad controlling-mode
|
# due to bad controlling-mode
|
||||||
params = {'controlling-mode': self.session.weinitiate, 'debug': False}
|
params = {'controlling-mode': self.session.weinitiate, 'debug': False}
|
||||||
stun_server = gajim.config.get('stun-server')
|
stun_server = gajim.config.get('stun_server')
|
||||||
if stun_server:
|
if stun_server:
|
||||||
try:
|
try:
|
||||||
ip = socket.getaddrinfo(stun_server, 0, socket.AF_UNSPEC,
|
ip = socket.getaddrinfo(stun_server, 0, socket.AF_UNSPEC,
|
||||||
|
|
Loading…
Reference in New Issue