[empathy] Add StreamMedia channelfilters with InitialAudio and InitialVideo



commit 3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Sun Sep 20 12:58:06 2009 +0100

    Add StreamMedia channelfilters with InitialAudio and InitialVideo

 src/empathy.c |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index 8a2f107..fe9caf6 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -618,6 +618,27 @@ setup_dispatcher (void)
       g_ptr_array_add (filters, asv);
     }
 
+  asv = tp_asv_new (
+        TP_IFACE_CHANNEL ".ChannelType",
+          G_TYPE_STRING, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA,
+        TP_IFACE_CHANNEL ".TargetHandleType",
+          G_TYPE_INT, TP_HANDLE_TYPE_CONTACT,
+        TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA ".InitialAudio",
+          G_TYPE_BOOLEAN, TRUE,
+        NULL);
+  g_ptr_array_add (filters, asv);
+
+  asv = tp_asv_new (
+        TP_IFACE_CHANNEL ".ChannelType",
+          G_TYPE_STRING, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA,
+        TP_IFACE_CHANNEL ".TargetHandleType",
+          G_TYPE_INT, TP_HANDLE_TYPE_CONTACT,
+        TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA ".InitialVideo",
+          G_TYPE_BOOLEAN, TRUE,
+        NULL);
+  g_ptr_array_add (filters, asv);
+
+
   empathy_dispatcher_add_handler (d, PACKAGE_NAME"MoreThanMeetsTheEye",
     filters, capabilities);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]