diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-10-02 17:57:20 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-10-02 17:57:20 +0200 |
commit | a9c06aa5b5e0ea74458d754be4f8f9932db465c6 (patch) | |
tree | 284e651434ac8b44ae3b520ffcc27c3c4893977b /templates/example/http-stream.xml | |
parent | redesign of streamer definition (diff) |
streamer seem to work now
Diffstat (limited to 'templates/example/http-stream.xml')
-rw-r--r-- | templates/example/http-stream.xml | 10 |
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> |