template for liquidsoap streamers

This commit is contained in:
2025-11-25 16:03:55 +00:00
parent d29ffee93a
commit d814acd5ea

View File

@@ -1,13 +1,24 @@
# Microphone input [general]
mic = input.pulseaudio() duration = 0 # 0 = run forever
bufferSecs = 5 # buffer size in seconds
reconnect = yes # reconnect on failure
reconnectDelay = 5
# Icecast output [input]
output.icecast( device = pulse # PulseAudio input
%mp3, sampleRate = 44100 # in Hz
host = "$ICECAST_HOST", bitsPerSample = 16
port = "$ICECAST_PORT", channel = 2
password = "$ICECAST_SOURCE_PASSWORD",
mount = "$ICECAST_MOUNT", [icecast2-0]
name = "Live DJ stream", bitrateMode = cbr
mic bitrate = 128 # kbps
) format = mp3
server = ${ICECAST_HOST}
port = ${ICECAST_PORT}
password = ${ICECAST_SOURCE_PASSWORD}
mountPoint = ${ICECAST_MOUNT}
name = "Live DJ stream"
description = "Live microphone stream"
genre = "Various"
public = yes