blob: 74c881e992a5b300155923e8e8938725d81ca785 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<component name="{{ '%s_rep' % (name) }}"
type="repeater"
label="{{ '%s (local repeater)' % (component.desc) }}"
worker="{{ component.worker }}"
project="flumotion"
version="{{ globals.version }}">
<eater name="default">
<feed alias="default">{{ component.feeder }}</feed>
</eater>
<clock-master>false</clock-master>
</component>
<component name="{{ name }}"
type="http-streamer"
label="{{ component.desc }}"
worker="{{ component.worker }}"
project="flumotion"
version="{{ globals.version }}">
<eater name="default">
<feed alias="default">{{ '%s_rep' % (name) }}</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>
<component name="{{ '%s_local' % (name) }}"
type="http-streamer"
label="{{ '%s (local streamer)' % (component.desc) }}"
worker="{{ component.worker }}"
project="flumotion"
version="{{ globals.version }}">
<eater name="default">
<feed alias="default">{{ '%s_rep' % (name) }}</feed>
</eater>
<property name="burst-time">1</property>
<property name="burst-on-connect">true</property>
<property name="mount-point">{{ component.properties['mount-point'] }}</property>
<property name="hostname">localhost</property>
<property name="port">{{ component.properties['port'] + 1 }}</property>
<property name="master">slave</property>
<clock-master>false</clock-master>
</component>
|