[Telepathy-commits] [telepathy-gabble/master] GabbleMediaChannel: advertise jingle-v0.15 and jingle-v0.32 dialect support
Senko Rasic
senko at phyrexia.lan
Tue Dec 2 04:34:06 PST 2008
---
src/media-channel.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/media-channel.c b/src/media-channel.c
index 2f418d8..4b72935 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -2096,14 +2096,14 @@ stream_direction_changed_cb (GabbleMediaStream *stream,
( PRESENCE_CAP_GOOGLE_VOICE )
#define JINGLE_CAPS \
- ( PRESENCE_CAP_JINGLE015 \
+ ( PRESENCE_CAP_JINGLE015 | PRESENCE_CAP_JINGLE032 \
| PRESENCE_CAP_GOOGLE_TRANSPORT_P2P )
#define JINGLE_AUDIO_CAPS \
- ( PRESENCE_CAP_JINGLE_DESCRIPTION_AUDIO )
+ ( PRESENCE_CAP_JINGLE_RTP | PRESENCE_CAP_JINGLE_DESCRIPTION_AUDIO )
#define JINGLE_VIDEO_CAPS \
- ( PRESENCE_CAP_JINGLE_DESCRIPTION_VIDEO )
+ ( PRESENCE_CAP_JINGLE_RTP | PRESENCE_CAP_JINGLE_DESCRIPTION_VIDEO )
GabblePresenceCapabilities
_gabble_media_channel_typeflags_to_caps (TpChannelMediaCapabilities flags)
@@ -2114,6 +2114,8 @@ _gabble_media_channel_typeflags_to_caps (TpChannelMediaCapabilities flags)
* the GTalk-P2P transport */
if (flags & TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_GTALK_P2P)
{
+ DEBUG ("adding jingle caps");
+
caps |= JINGLE_CAPS;
if (flags & TP_CHANNEL_MEDIA_CAPABILITY_AUDIO)
--
1.5.6.5
More information about the Telepathy-commits
mailing list