changeset 5e5b49871ae2 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=5e5b49871ae2
description: fix order of farstream calls
diffstat:
src/common/jingle_rtp.py | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r ef9f5c22d2c2 -r 5e5b49871ae2 src/common/jingle_rtp.py
--- a/src/common/jingle_rtp.py Wed Dec 26 18:41:31 2012 -0400
+++ b/src/common/jingle_rtp.py Sun Dec 30 16:20:57 2012 +0100
@@ -177,6 +177,15 @@
elif name == 'farstream-codecs-changed':
if self.sent and self.p2psession.get_property('codecs'):
self.send_description_info()
+ if self.transport.remote_candidates:
+ # those lines MUST be done after we get info on our
+ # codecs
+ self.p2pstream.add_remote_candidates(
+ self.transport.remote_candidates)
+ self.transport.remote_candidates = []
+ self.p2pstream.set_property('direction',
+ farstream.DIRECTION_BOTH)
+
elif name == 'farstream-local-candidates-prepared':
self.candidates_ready = True
if self.is_ready():
@@ -234,11 +243,15 @@
def on_negotiated(self):
if self.accepted:
- if self.transport.remote_candidates:
- self.p2pstream.add_remote_candidates(self.transport.remote_candidates)
- self.transport.remote_candidates = []
- # TODO: farstream.DIRECTION_BOTH only if senders='both'
- self.p2pstream.set_property('direction', farstream.DIRECTION_BOTH)
+ if self.p2psession.get_property('codecs'):
+ # those lines MUST be done after we get info on our codecs
+ if self.transport.remote_candidates:
+ self.p2pstream.add_remote_candidates(
+ self.transport.remote_candidates)
+ self.transport.remote_candidates = []
+ # TODO: farstream.DIRECTION_BOTH only if senders='both'
+ self.p2pstream.set_property('direction',
+ farstream.DIRECTION_BOTH)
JingleContent.on_negotiated(self)
def __on_remote_codecs(self, stanza, content, error, action):
changeset 88fd3f2d7b80 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=88fd3f2d7b80
description: update README
diffstat:
README.html | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 897914764015 -r 88fd3f2d7b80 README.html
--- a/README.html Thu Dec 27 21:58:52 2012 +0100
+++ b/README.html Fri Dec 28 21:58:49 2012 +0100
@@ -14,8 +14,9 @@
<h2>Runtime Requirements</h2>
<ul>
-<li>python2.5 or higher</li>
-<li>pygtk2.22 or higher</li>
+<li>python2.7 or higher</li>
+<li>python-gi</li>
+<li>gir1.2-gtk-3.0</li>
<li>python-nbxmpp</li>
</ul>
@@ -28,7 +29,7 @@
<li>For zeroconf (bonjour), the "enable link-local messaging" checkbox, you need dbus-glib, python-avahi</li>
<li>dnsutils (or whatever package provides the nslookup binary) for SRV support</li>
<li>gtkspell and aspell-LANG where lang is your locale eg. en, fr etc</li>
-<li>gnome-python-desktop (for GnomeKeyring support as password storage)</li>
+<li>gir1.2-gnomekeyring-1.0 for GnomeKeyring support as password storage</li>
<li>kwalletcli (for support of KDE Wallet as password storage)</li>
<li>notification-daemon or notify-python (and D-Bus) to get cooler popups</li>
<li>D-Bus running to have gajim-remote working. Some distributions split dbus-x11, which is needed for dbus to work with Gajim. Version >= 0.80 is required.</li>