remove old comment. Audio works with pidgin.

This commit is contained in:
Yann Leboulanger 2012-09-01 20:42:57 +02:00
parent e92fec4bdc
commit e0adaa8a87
1 changed files with 3 additions and 7 deletions

View File

@ -26,10 +26,6 @@ Handles the jingle signalling protocol
# * config:
# - codecs
# * figure out why it doesn't work with pidgin:
# That's maybe a bug in pidgin:
# http://xmpp.org/extensions/xep-0176.html#protocol-checks
import xmpp
import helpers
import gajim
@ -159,13 +155,13 @@ class ConnectionJingle(object):
transport = JingleTransportIBB()
c = JingleFileTransfer(jingle, transport=transport,
file_props=file_props, use_security=use_security)
file_props.algo = self.__hash_support(contact)
file_props.algo = self.__hash_support(contact)
jingle.add_content('file' + helpers.get_random_string_16(), c)
jingle.start_session()
return c.transport.sid
def __hash_support(self, contact):
if contact.supports(xmpp.NS_HASHES):
if contact.supports(xmpp.NS_HASHES_MD5):
return 'md5'
@ -175,7 +171,7 @@ class ConnectionJingle(object):
return 'sha-256'
elif contact.supports(xmpp.NS_HASHES_SHA512):
return 'sha-512'
return None
def iter_jingle_sessions(self, jid, sid=None, media=None):