From 21b051177dc5897d239e6532f5f245a32f7dfb36 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Thu, 20 Oct 2022 14:52:23 -0400 Subject: Starting point for icecast config --- roles/stream/templates/icecast.xml | 300 +++++++++++++++++++++++++++++++++++++ 1 file changed, 300 insertions(+) create mode 100644 roles/stream/templates/icecast.xml (limited to 'roles/stream/templates/icecast.xml') diff --git a/roles/stream/templates/icecast.xml b/roles/stream/templates/icecast.xml new file mode 100644 index 0000000..d2bb89c --- /dev/null +++ b/roles/stream/templates/icecast.xml @@ -0,0 +1,300 @@ + + + + Earth + {{ icecast_admin_email }} + + + + + 10000 + 10 + 524288 + 30 + 15 + 10 + + 1 + + 65535 + + + + + {{ icecast_source_password }} + + {{ icecast_relay_password }} + + + admin + {{ icecast_admin_password }} + + + + + + + + + {{ icecast_hostname }} + + + + {{ icecast_port }} + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + {% for track in emacsconf_tracks %} + + /emacsconf/{{ track.id }}.webm + emacsconf + {{ icecast_emacsconf_password }} + /data/emacsconf-{{ emacsconf_year }}-{{ track.id }}_%Y-%m-%d_%H-%M-%S.webm + EmacsConf {{ emacsconf_year }} - {{ track.name }} track + The livestream for the {{ track.name }} track of EmacsConf {{ emacsconf_year }} + https://emacsconf.org/{{ emacsconf_year }}/watch/{{ track.id }}/ + video/webm + 1 + + + /emacsconf/{{ track.id }}-host.webm + emacsconf + {{ icecast_emacsconf_password }} + EmacsConf {{ emacsconf_year }} - {{ track.name }} track + The host stream for the {{ track.name }} track of EmacsConf {{ emacsconf_year }} + https://emacsconf.org/{{ emacsconf_year }}/watch/{{ track.id }}/ + video/webm + 1 + 1 + + + /emacsconf/{{ track.id }}-480p.webm + emacsconf + {{ icecast_emacsconf_password }} + EmacsConf {{ emacsconf_year }} - {{ track.name }} track (480p) + The 480p livestream for the {{ track.name }} track of EmacsConf {{ emacsconf_year }} + https://emacsconf.org/{{ emacsconf_year }}/watch/{{ track.id }}/ + video/webm + 1 + + {% endfor %} + {% if icecast_mounts is defined %} + {% for mount in icecast_mounts %} + + {{ mount.name }} + {{ mount.username }} + {{ mount.password }} + {% if mount.dump_file is defined %} + {{ mount.dump_file }} + {% endif %} + {{ mount.stream_name }} + {{ mount.stream_description }} + {% if mount.stream_url is defined %} + {{ mount.stream_url }} + {% endif %} + {{ mount.type }} + {% if mount.public is defined %} + {{ mount.public }} + {% endif %} + {% if mount.hidden is defined %} + {{ mount.hidden }} + {% endif %} + + {% endfor %} + {% endif %} + 1 + + + + /usr/share/icecast2 + + + /var/log/icecast2 + /usr/share/icecast2/web + /usr/share/icecast2/admin + + + + + + + + + + + access.log + error.log + + 3 + 10000 + + + + + + 0 + + icecast2 + icecast + + + -- cgit v1.2.3