summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-29 09:56:58 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-29 11:36:09 +0200
commit70821f0c74f2d441bc889110e56bbfa602863559 (patch)
tree25815dfe4e4038d1b5769e46ee41389d1fa329bb /data
parent53fa331b0f2ad50a8520c4adf6983b744d5cddbd (diff)
add service and client files
Diffstat (limited to 'data')
-rw-r--r--data/.gitignore1
-rw-r--r--data/Empathy.AudioVideo.client20
-rw-r--r--data/Makefile.am12
-rw-r--r--data/org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in3
4 files changed, 34 insertions, 2 deletions
diff --git a/data/.gitignore b/data/.gitignore
index 58d6c1ba1..609a920ae 100644
--- a/data/.gitignore
+++ b/data/.gitignore
@@ -3,5 +3,6 @@ empathy.desktop.in
org.gnome.Empathy.gschema.valid
org.gnome.Empathy.gschema.xml
org.freedesktop.Telepathy.Client.Empathy.service
+org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service
empathy-accounts.desktop
empathy-accounts.desktop.in
diff --git a/data/Empathy.AudioVideo.client b/data/Empathy.AudioVideo.client
new file mode 100644
index 000000000..a8a146594
--- /dev/null
+++ b/data/Empathy.AudioVideo.client
@@ -0,0 +1,20 @@
+[org.freedesktop.Telepathy.Client]
+Interfaces=org.freedesktop.Telepathy.Client.Handler
+
+[org.freedesktop.Telepathy.Client.Handler.HandlerChannelFilter 0]
+org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.StreamedMedia
+org.freedesktop.Telepathy.Channel.TargetHandleType u=1
+
+[org.freedesktop.Telepathy.Client.Handler.HandlerChannelFilter 0]
+org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.StreamedMedia
+org.freedesktop.Telepathy.Channel.TargetHandleType u=1
+org.freedesktop.Telepathy.Channel.Type.StreamedMedia.InitialAudio b=true
+
+[org.freedesktop.Telepathy.Client.Handler.HandlerChannelFilter 0]
+org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.StreamedMedia
+org.freedesktop.Telepathy.Channel.TargetHandleType u=1
+org.freedesktop.Telepathy.Channel.Type.StreamedMedia.InitialVideo b=true
+
+[org.freedesktop.Telepathy.Client.Handler.Capabilities]
+org.freedesktop.Telepathy.Channel.Interface.MediaSignalling/ice-udp=true
+org.freedesktop.Telepathy.Channel.Interface.MediaSignalling/gtalk-p2p=true
diff --git a/data/Makefile.am b/data/Makefile.am
index 016c3db8d..3f03c80d0 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -25,14 +25,22 @@ streamingprefs_DATA = \
element-properties
servicefiledir = $(datadir)/dbus-1/services
-servicefile_in_files = org.freedesktop.Telepathy.Client.Empathy.service.in
+servicefile_in_files = \
+ org.freedesktop.Telepathy.Client.Empathy.service.in \
+ org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in
+
servicefile_DATA = $(servicefile_in_files:.service.in=.service)
org.freedesktop.Telepathy.Client.Empathy.service: org.freedesktop.Telepathy.Client.Empathy.service.in
$(AM_V_GEN)sed -e "s|[@]bindir[@]|$(bindir)|" $< > $@
+org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service: org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in
+ $(AM_V_GEN)sed -e "s|[@]bindir[@]|$(bindir)|" $< > $@
+
clientfiledir = $(datarootdir)/telepathy/clients
-clientfile_DATA = Empathy.client
+clientfile_DATA = \
+ Empathy.client \
+ Empathy.AudioVideo.client
htmldir = $(datadir)/empathy
html_DATA = Template.html
diff --git a/data/org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in b/data/org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in
new file mode 100644
index 000000000..b18bad074
--- /dev/null
+++ b/data/org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.Telepathy.Client.Empathy.AudioVideo
+Exec=@bindir@/empathy-av