summaryrefslogtreecommitdiff
path: root/templates/flumotion/default/http-stream.xml
blob: 561097a77f3719456dad4751f209aaa398165ea2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
    <component name="{{ name }}"
               type="http-streamer"
               label="{{ component.desc }}"
               worker="{{ component.worker }}"
               project="flumotion"
               version="{{ globals.version }}">
        <eater name="default">
          <feed alias="default">{{ component.feeder }}</feed>
        </eater>
        <plugs>
          <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>
        </plugs>
%% for name, value in component.properties.items()
%%   if name != 'samplerate'
        <property name="{{ name }}">{{ value }}</property>
%%   endif
%% endfor
        <clock-master>false</clock-master>
    </component>