Only Jingle RTP functions depend on Farstream library.

Jingle File Transfers work without Farstream.

ICE-UDP transport is also implemented as a part of Farstream (libnice)

Fixes #7713
This commit is contained in:
Fedor Brunner 2014-04-04 10:33:36 +02:00
parent 345dad8988
commit 74eff753d7
1 changed files with 6 additions and 6 deletions

View File

@ -1305,8 +1305,8 @@ def update_optional_features(account = None):
gajim.gajim_optional_features[a].append(nbxmpp.NS_ESESSION) gajim.gajim_optional_features[a].append(nbxmpp.NS_ESESSION)
if gajim.config.get_per('accounts', a, 'answer_receipts'): if gajim.config.get_per('accounts', a, 'answer_receipts'):
gajim.gajim_optional_features[a].append(nbxmpp.NS_RECEIPTS) gajim.gajim_optional_features[a].append(nbxmpp.NS_RECEIPTS)
if gajim.HAVE_FARSTREAM:
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE) gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE)
if gajim.HAVE_FARSTREAM:
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP) gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP)
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP_AUDIO) gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP_AUDIO)
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP_VIDEO) gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP_VIDEO)