summaryrefslogtreecommitdiff
path: root/templates/example/planet.xml
blob: c1633ee79946925f1b8fb3ed5567438a70a70271 (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
53
<?xml version="1.0" encoding="UTF-8"?>
<planet name="{{ globals.name }}">

  <manager name="{{ globals.name }}">
%% for name, value in globals.manager.items()
%%   if name != 'machine'
    <{{ name }}>{{ value }}</{{ name }}>
%%   endif
%% endfor
    <component name="manager-bouncer" type="htpasswdcrypt-bouncer">
      <property name="filename">/etc/flumotion/{{ globals.name }}.passwd</property>
    </component>
  </manager>

  <atmosphere>
{% for name, component in atmosphere.items() %}
{% include '%s.xml' % component.type %}
{% endfor %}
  </atmosphere>

  <flow name="{{ globals.name }}">
<!-- raw-input, resizing and resampling -->
{% for name, component in flow['input'].items() %}
{% include '%s.xml' % component.type %}
{% endfor %}

<!-- encoding -->
  <!-- audio -->
{% for name, component in flow['encoder_audio'].items() %}
{% include '%s.xml' % component.type %}
{% endfor %}
  <!-- video -->
{% for name, component in flow['encoder_video'].items() %}
{% include '%s.xml' % component.type %}
{% endfor %}

<!-- muxing -->
{% for name, component in flow['muxer'].items() %}
{% include '%s.xml' % component.type %}
{% endfor %}

<!-- repeater -->
{% for name, component in flow['repeater'].items() %}
{% include '%s.xml' % component.type %}
{% endfor %}

<!-- streaming -->
{% for name, component in flow['streamer'].items() %}
{% include '%s.xml' % component.type %}
{% endfor %}
  </flow>

</planet>