generelle übersicht über wichtige configurationsvariablen und installation
Installation ist denkbar einfach.. unter Debian/Ubuntu genügt ein:
sudo apt update sudo apt install icecast2 # nach jeder änderung kann mann den server mit folgenden befehl neustarten sudo systemctl restart icecast2 # oder sudo /etc/init.d/icecast2 restart # alle configurationen sind in der datei /etc/icecast2/icecast.xml einzustellen
in der section <limits><clients> stellt man die maximal erlaubten zuseher ein, was wichtig für die monetarisierung ist.
<limits>
<clients>100</clients>
<sources>2</sources>
<queue-size>12800000</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<!-- If enabled, this will provide a burst of data when a client
first connects, thereby significantly reducing the startup
time for listeners that do substantial buffering. However,
it also significantly increases latency between the source
client and listening client. For low-latency setups, you
might want to disable this. -->
<burst-on-connect>1</burst-on-connect>
<!-- same as burst-on-connect, but this allows for being more
specific on how much to burst. Most people won't need to
change from the default 64k. Applies to all mountpoints -->
<burst-size>2560000</burst-size>
</limits>
Alle Passwörter die man in der Weboberfläche die unter 127.0.0.1:8000 erreichbar ist (127.0.0.1 mit der gewählter IP ändern) stellt mann in dieser section ein.
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>examplePasswd</source-password>
<!-- Relays log in with username 'relay' -->
<relay-password>examplePasswd</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>examplePasswd</admin-password>
</authentication>
Den benutzen Port eventuell auf 80 stellen
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
<!-- <shoutcast-mount>/stream</shoutcast-mount> -->
</listen-socket>
am besten dass ganze mit ssl verschlüssln
<listen-socket>
<port>8443</port>
<ssl>1</ssl>
</listen-socket>
Der standard mount point ist „stream“ mit dem standard user „source“ und funktioniert mit den standardeisntellungen. Um das ganze zu individualisieren muss man sich die mount section ansehen.
<mount type="default">
<public>0</public>
<intro>/server-wide-intro.ogg</intro>
<max-listener-duration>3600</max-listener-duration>
<authentication type="url">
<option name="mount_add" value="http://auth.example.org/stream_sta>
</authentication>
<http-headers>
<header name="foo" value="bar" />
</http-headers>
</mount>
Der hostname muss angegeben werden und ist der fully quallyfied domain name
<hostname>ice.krshna.at</hostname>
Im OBS stellt mann in den Einstellugnen „AUSGABE“ –> „AUFNAME“ –> „URL“
und trägt die url folgendermassen ein (Beispiel)
icecast://source:examplePasswd@77.116.223.232:8000/stream

Schreibe einen Kommentar
Du musst angemeldet sein, um einen Kommentar abzugeben.