diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-09-20 19:58:06 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-09-20 20:25:21 +0800 |
commit | 3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c (patch) | |
tree | 7c414fb8c583d5195f5427ecdf70827760fd9684 | |
parent | 0863264ba49fbc3561084cac8c68e01748c7764c (diff) | |
download | gsoc2013-empathy-3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c.tar gsoc2013-empathy-3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c.tar.gz gsoc2013-empathy-3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c.tar.bz2 gsoc2013-empathy-3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c.tar.lz gsoc2013-empathy-3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c.tar.xz gsoc2013-empathy-3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c.tar.zst gsoc2013-empathy-3f69fecb7d8405f7a9e3c8e7b34665e536b7de0c.zip |
Add StreamMedia channelfilters with InitialAudio and InitialVideo
-rw-r--r-- | src/empathy.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/empathy.c b/src/empathy.c index 8a2f107b7..fe9caf6c6 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); |