blob: 5c2575c1b6d46f2d28a0c77ef6d45d3febcde63b (
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
54
55
56
57
58
59
60
61
62
63
64
|
<?xml version="1.0" encoding="UTF-8"?>
<planet name="{{ globals.name }}">
<manager name="{{ globals.name }}">
%% if globals.deployment.type == "kubernetes"
<host>0.0.0.0</host>
%% else
<host>{{ globals.manager.host }}</host>
%% endif
<port>{{ globals.manager.port }}</port>
<transport>{{ globals.manager.transport }}</transport>
<component name="manager-bouncer" type="htpasswdcrypt-bouncer">
%% if globals.deployment.type == "kubernetes"
<property name="filename">/srv/secret/htpasswd</property>
%% else
<property name="filename">/etc/flumotion/{{ globals.name }}.passwd</property>
%% endif
</component>
</manager>
<atmosphere>
{% for name, component in atmosphere.items() %}
{% include '%s.xml.j2' % component.type %}
{% endfor %}
</atmosphere>
<flow name="{{ globals.name }}">
<!-- raw-input, resizing and resampling -->
{% for name, component in flow['inputs'].items() %}
{% include '%s.xml.j2' % component.type %}
{% endfor %}
<!-- encoding -->
<!-- audio -->
{% for name, component in flow['encoders-audio'].items() %}
{% include '%s.xml.j2' % component.type %}
{% endfor %}
<!-- video -->
{% for name, component in flow['encoders-video'].items() %}
{% include '%s.xml.j2' % component.type %}
{% endfor %}
<!-- muxing -->
{% for name, component in flow['muxers'].items() %}
{% include '%s.xml.j2' % component.type %}
{% endfor %}
<!-- repeater -->
{% for name, component in flow['repeaters'].items() %}
{% include '%s.xml.j2' % component.type %}
{% endfor %}
<!-- streaming -->
{% for name, component in flow['streamers'].items() %}
{% include '%s.xml.j2' % component.type %}
{% endfor %}
<!-- recording -->
{% for name, component in flow['recorders'].items() %}
{% include '%s.xml.j2' % component.type %}
{% endfor %}
</flow>
</planet>
|