summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-10-02 17:57:20 +0200
committerChristian Pointner <equinox@spreadspace.org>2012-10-02 17:57:20 +0200
commita9c06aa5b5e0ea74458d754be4f8f9932db465c6 (patch)
tree284e651434ac8b44ae3b520ffcc27c3c4893977b /templates
parentredesign of streamer definition (diff)
streamer seem to work now
Diffstat (limited to 'templates')
-rw-r--r--templates/example/http-stream.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/example/http-stream.xml b/templates/example/http-stream.xml
index 5896651..8027b9f 100644
--- a/templates/example/http-stream.xml
+++ b/templates/example/http-stream.xml
@@ -7,6 +7,14 @@
<eater name="default">
<feed alias="default">{{ component.feeder }}</feed>
</eater>
- <!-- TODO: add properties here -->
+ <plug socket="flumotion.component.plugs.rrd.ComponentRRDPlug" type="component-rrd">
+ <property name="clients-connected-file">{{ component.rrd_clients }}</property>
+ <property name="bytes-transferred-file">{{ component.rrd_bytes }}</property>
+ </plug>
+%% for name, value in component.properties.items()
+%% if name != 'samplerate'
+ <property name="{{ name }}">{{ value }}</property>
+%% endif
+%% endfor
<clock-master>false</clock-master>
</component>