1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/darkice/data/etc/darkice.cfg
2021-10-22 11:23:49 +08:00

43 lines
2.1 KiB
INI

# sample DarkIce configuration file, edit for your needs before using
# see the darkice.cfg man page for details
# this section describes general aspects of the live streaming session
[general]
duration = 0 # duration of encoding, in seconds. 0 means forever
bufferSecs = 5 # size of internal slip buffer, in seconds
reconnect = yes # reconnect to the server(s) if disconnected
realtime = yes # run the encoder with POSIX realtime priority
rtprio = 3 # scheduling priority for the realtime threads
# this section describes the audio input that will be streamed
[input]
device = hw:1,0 # ALSA DSP soundcard device for the audio input
sampleRate = 16000 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 16 # bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo
# this section describes a streaming connection to an IceCast2 server
# there may be up to 8 of these sections, named [icecast2-0] ... [icecast2-7]
# these can be mixed with [icecast-x] and [shoutcast-x] sections
[icecast2-0]
bitrateMode = abr # average bit rate
format = vorbis # format of the stream: ogg vorbis
bitrate = 96 # bitrate of the stream sent to the server
server = icecast
# host name of the server
port = 8000 # port of the IceCast2 server, usually 8000
# source password to the IceCast2 server
password = hackme
# there must not be a comment following the password
mountPoint = live.ogg # mount point of this stream on the IceCast2 server
name = Untitled Song
# name of the stream
description = Various Artists
# description of the stream
url = http://icecast.easypi.tv/live.ogg
# URL related to the stream
genre = Live # genre of the stream
public = yes # advertise this stream?
localDumpFile = /var/lib/darkice/live.ogg
# local dump file