Skip to content
Snippets Groups Projects
Commit e0adaa8a authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

remove old comment. Audio works with pidgin.

parent e92fec4b
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment