# see the darkice.cfg man page for details # this section describes general aspects of the live streaming session [general] duration = <%= darkice_duration %> # 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 # this section describes the audio input that will be streamed [input] device = <%= darkice_device %> # OSS DSP soundcard device for the audio input sampleRate = <%= darkice_samplerate %> # sample rate in Hz. try 11025, 22050 or 44100 bitsPerSample = <%= darkice_bitspersample %> # bits per sample. try 16 channel = 2 # channels. 1 = mono, 2 = stereo <% if has_variable?("darkice_icecast20") -%> [icecast2-0] bitrateMode = <%= darkice_icecast20_btratemode %> # average bit rate format = <%= darkice_icecast20_format %> # format of the stream: ogg vorbis mp3 bitrate = <%= darkice_icecast20_bitrate %> # bitrate of the stream sent to the server server = <%= darkice_icecast20_server %> # host name of the server port = <%= darkice_icecast20_port %> # port of the IceCast2 server, usually 8000 password = <%= darkice_icecast20_pwd %> # source password to the IceCast2 server mountPoint = <%= darkice_icecast20_mountpoint %> # mount point of this stream on the IceCast2 server name = <%= darkice_icecast20_name %> # name of the stream description = <%= darkice_icecast20_description %> # description of the stream url = <%= darkice_icecast20_url %> # URL related to the stream genre = <%= darkice_icecast20_genre %> # genre of the stream public = <%= darkice_icecast20_public %> # advertise this stream? <% end -%>