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:
parent
345dad8988
commit
74eff753d7
|
@ -1305,17 +1305,17 @@ def update_optional_features(account = None):
|
|||
gajim.gajim_optional_features[a].append(nbxmpp.NS_ESESSION)
|
||||
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_JINGLE)
|
||||
if gajim.HAVE_FARSTREAM:
|
||||
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE)
|
||||
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_VIDEO)
|
||||
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_ICE_UDP)
|
||||
gajim.gajim_optional_features[a].append(
|
||||
nbxmpp.NS_JINGLE_FILE_TRANSFER)
|
||||
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_XTLS)
|
||||
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_BYTESTREAM)
|
||||
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_IBB)
|
||||
gajim.gajim_optional_features[a].append(
|
||||
nbxmpp.NS_JINGLE_FILE_TRANSFER)
|
||||
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_XTLS)
|
||||
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_BYTESTREAM)
|
||||
gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_IBB)
|
||||
gajim.caps_hash[a] = caps_cache.compute_caps_hash([gajim.gajim_identity],
|
||||
gajim.gajim_common_features + gajim.gajim_optional_features[a])
|
||||
# re-send presence with new hash
|
||||
|
|
Loading…
Reference in New Issue