1 | # see the darkice.cfg man page for details |
---|
2 | |
---|
3 | # this section describes general aspects of the live streaming session |
---|
4 | [general] |
---|
5 | duration = <%= darkice_duration %> # duration of encoding, in seconds. 0 means forever |
---|
6 | bufferSecs = 5 # size of internal slip buffer, in seconds |
---|
7 | reconnect = yes # reconnect to the server(s) if disconnected |
---|
8 | |
---|
9 | # this section describes the audio input that will be streamed |
---|
10 | [input] |
---|
11 | device = <%= darkice_device %> # OSS DSP soundcard device for the audio input |
---|
12 | sampleRate = <%= darkice_samplerate %> # sample rate in Hz. try 11025, 22050 or 44100 |
---|
13 | bitsPerSample = <%= darkice_bitspersample %> # bits per sample. try 16 |
---|
14 | channel = 2 # channels. 1 = mono, 2 = stereo |
---|
15 | |
---|
16 | |
---|
17 | <% if has_variable?("darkice_icecast20") -%> |
---|
18 | [icecast2-0] |
---|
19 | bitrateMode = <%= darkice_icecast20_btratemode %> # average bit rate |
---|
20 | format = <%= darkice_icecast20_format %> # format of the stream: ogg vorbis mp3 |
---|
21 | bitrate = <%= darkice_icecast20_bitrate %> # bitrate of the stream sent to the server |
---|
22 | server = <%= darkice_icecast20_server %> # host name of the server |
---|
23 | port = <%= darkice_icecast20_port %> # port of the IceCast2 server, usually 8000 |
---|
24 | password = <%= darkice_icecast20_pwd %> # source password to the IceCast2 server |
---|
25 | mountPoint = <%= darkice_icecast20_mountpoint %> # mount point of this stream on the IceCast2 server |
---|
26 | name = <%= darkice_icecast20_name %> # name of the stream |
---|
27 | description = <%= darkice_icecast20_description %> # description of the stream |
---|
28 | url = <%= darkice_icecast20_url %> # URL related to the stream |
---|
29 | genre = <%= darkice_icecast20_genre %> # genre of the stream |
---|
30 | public = <%= darkice_icecast20_public %> # advertise this stream? |
---|
31 | |
---|
32 | <% end -%> |
---|