source: trunk/puppet/modules/puppet-audiostreamer/templates/darkice.cfg.erb @ 491

Last change on this file since 491 was 491, checked in by sebas, 14 years ago

nuevo modulo puppet para manejar un cliente de streaming audio (darkice) hacia un servidor icecast2

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