diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-10-29 08:26:26 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-10-29 08:26:26 +0100 |
commit | 5db274c6a3917902caefb5c3c47fe72ed8e841ff (patch) | |
tree | be962449e62073526d6556de43f2e8c167beb17c | |
parent | 11eedbf7f003e8b98ac5626a4b14a27580354d67 (diff) | |
parent | 892d6d57b6e8bec11bc7693b5f58cffac158a184 (diff) |
Merge branch 'telepathy-gabble-0.18'
Conflicts:
src/media-factory.c
tests/twisted/jingle/google-relay.py
-rw-r--r-- | src/media-factory.c | 9 | ||||
-rw-r--r-- | tests/twisted/caps/advertise-contact-caps.py | 2 | ||||
-rw-r--r-- | tests/twisted/jingle/call-codecoffer.py | 2 | ||||
-rw-r--r-- | tests/twisted/jingle/call_helper.py | 2 | ||||
-rw-r--r-- | tests/twisted/jingle/stun-server.py | 2 |
5 files changed, 11 insertions, 6 deletions
diff --git a/src/media-factory.c b/src/media-factory.c index 7f7744c99..6a861498b 100644 --- a/src/media-factory.c +++ b/src/media-factory.c @@ -831,7 +831,7 @@ gabble_media_factory_represent_client (GabbleCapsChannelManager *manager, GabbleCapabilitySet *cap_set, GPtrArray *data_forms) { - static GQuark qc_gtalk_p2p = 0, qc_ice_udp = 0, qc_h264 = 0; + static GQuark qc_gtalk_p2p = 0, qc_ice_udp = 0, qc_h264 = 0, qc_ice = 0; gboolean gtalk_p2p = FALSE, h264 = FALSE, audio = FALSE, video = FALSE, ice_udp = FALSE; guint i; @@ -840,7 +840,11 @@ gabble_media_factory_represent_client (GabbleCapsChannelManager *manager, if (G_UNLIKELY (qc_gtalk_p2p == 0)) { qc_gtalk_p2p = g_quark_from_static_string ( - TP_IFACE_CHANNEL_TYPE_CALL "/gtalk-p2p"); + TP_TOKEN_CHANNEL_TYPE_CALL_GTALK_P2P); + qc_ice = g_quark_from_static_string ( + TP_TOKEN_CHANNEL_TYPE_CALL_ICE); + /* 'ice-udp' isn't the proper cap name, 'ice' is. We keep supporting + * 'ice-udp' for now to not break existing clients. */ qc_ice_udp = g_quark_from_static_string ( TP_IFACE_CHANNEL_TYPE_CALL "/ice-udp"); qc_h264 = g_quark_from_static_string ( @@ -860,6 +864,7 @@ gabble_media_factory_represent_client (GabbleCapsChannelManager *manager, } q2cap[] = { { qc_gtalk_p2p, >alk_p2p }, { qc_ice_udp, &ice_udp }, + { qc_ice, &ice_udp }, { qc_h264, &h264 }, { 0, NULL }, }; diff --git a/tests/twisted/caps/advertise-contact-caps.py b/tests/twisted/caps/advertise-contact-caps.py index 23f4d478f..ec7ec7b59 100644 --- a/tests/twisted/caps/advertise-contact-caps.py +++ b/tests/twisted/caps/advertise-contact-caps.py @@ -228,7 +228,7 @@ def run_mixed_test (q, bus, conn, stream): cs.CALL_INITIAL_VIDEO: True}, ], [ cs.CHANNEL_TYPE_CALL + '/gtalk-p2p', - cs.CHANNEL_TYPE_CALL + '/ice-udp', + cs.CHANNEL_TYPE_CALL + '/ice', cs.CHANNEL_TYPE_CALL + '/video/h264', ]), ]) diff --git a/tests/twisted/jingle/call-codecoffer.py b/tests/twisted/jingle/call-codecoffer.py index 18ccaecc3..987ebf3b4 100644 --- a/tests/twisted/jingle/call-codecoffer.py +++ b/tests/twisted/jingle/call-codecoffer.py @@ -88,7 +88,7 @@ def prepare_test(jp, q, bus, conn, stream): cs.CALL_INITIAL_VIDEO: True}, ], [ cs.CHANNEL_TYPE_CALL + '/gtalk-p2p', - cs.CHANNEL_TYPE_CALL + '/ice-udp', + cs.CHANNEL_TYPE_CALL + '/ice', cs.CHANNEL_TYPE_CALL + '/video/h264', ]), ]) diff --git a/tests/twisted/jingle/call_helper.py b/tests/twisted/jingle/call_helper.py index 781750a13..76f595322 100644 --- a/tests/twisted/jingle/call_helper.py +++ b/tests/twisted/jingle/call_helper.py @@ -254,7 +254,7 @@ class CallTest(object): cs.CALL_INITIAL_VIDEO: initial_video}, ], [ cs.CHANNEL_TYPE_CALL + '/gtalk-p2p', - cs.CHANNEL_TYPE_CALL + '/ice-udp', + cs.CHANNEL_TYPE_CALL + '/ice', cs.CHANNEL_TYPE_CALL + '/video/h264', ]), ]) diff --git a/tests/twisted/jingle/stun-server.py b/tests/twisted/jingle/stun-server.py index aa481c0ab..ab7c538ce 100644 --- a/tests/twisted/jingle/stun-server.py +++ b/tests/twisted/jingle/stun-server.py @@ -96,7 +96,7 @@ def test_call(jp, q, bus, conn, stream, cs.CALL_INITIAL_VIDEO: True}, ], [ cs.CHANNEL_TYPE_CALL + '/gtalk-p2p', - cs.CHANNEL_TYPE_CALL + '/ice-udp', + cs.CHANNEL_TYPE_CALL + '/ice', cs.CHANNEL_TYPE_CALL + '/video/h264', ]), ]) |