summaryrefslogtreecommitdiff
path: root/templates/flumotion/default/http-stream.xml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-10-09 18:45:07 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-10-09 18:45:07 +0200
commit4ad734a5aa2664e7af0cd758d03dcaf19b20c668 (patch)
treede818ad78c0d1b372c0281538b8358c13414c757 /templates/flumotion/default/http-stream.xml
parentadded missing templates and a new minimal example (diff)
the rrd plug is now optional
Diffstat (limited to 'templates/flumotion/default/http-stream.xml')
-rw-r--r--templates/flumotion/default/http-stream.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/flumotion/default/http-stream.xml b/templates/flumotion/default/http-stream.xml
index 561097a..3de894a 100644
--- a/templates/flumotion/default/http-stream.xml
+++ b/templates/flumotion/default/http-stream.xml
@@ -8,10 +8,16 @@
<feed alias="default">{{ component.feeder }}</feed>
</eater>
<plugs>
+%% if component.rrd_dir is defined
<plug socket="flumotion.component.plugs.rrd.ComponentRRDPlug" type="component-rrd">
+%% if component.rrd_clients is defined
<property name="clients-connected-file">{{ component.rrd_clients }}</property>
+%% endif
+%% if component.rrd_bytes is defined
<property name="bytes-transferred-file">{{ component.rrd_bytes }}</property>
+%% endif
</plug>
+%% endif
</plugs>
%% for name, value in component.properties.items()
%% if name != 'samplerate'