[icecast] icecast2 as primary server and authenticated darkice

effebi effebi at codicelibero.net
Sun Dec 21 11:07:09 UTC 2003

I need to set up icecast2 as indipendent server, I mean I have my own
domain and IP address where I'm going to install icecast2, my server
have to be able to authenticate every SourcesSide (eg: winampa, darkice)
but can't udersand something, as like as difference between "master server"
and "relay server" and, in my darkice confinguration file, where i have
to put "username" to authenticate; i have to offer streaming service on
my machine to more than 2 people with username/password only.

<p><p>here's my (mistaken) icecast.xml

    <location>Not Currently Used</location>
    <admin>Not Currently Used</admin>


        <!-- Sources log in with username 'source' -->

        <!-- Sources log in with username 'jack' -->

        <!-- Relays log in username 'relay' -->

        <!-- Admin logs in with the username given below -->

<p>    <hostname>MyDomain.net</hostname>

    <!-- You may have multiple <listener> elements -->
        <!-- <bind-address></bind-address> -->



    <!-- Only define a <mount> section if you want to use advanced options,
         like alternative usernames or passwords
<!-- what does it means?? -->



        <!-- <dump-file>/tmp/dump-example1.ogg</dump-file> -->



        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->

        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
        <alias source="/foo" dest="/bar"/>

        <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->


<p><p><p><p>here's my darkice.cfg (it works on an public icecast1.3 server)

# this section describes general aspects of the live streaming session
duration        = 0        # duration of encoding, in seconds. 0 means forever
bufferSecs      = 5         # size of internal slip buffer, in seconds

# this section describes the audio input that will be streamed
device          = /dev/dsp  # OSS DSP soundcard device for the audio input
sampleRate      = 22050     # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample   = 16        # bits per sample. try 16
channel         = 1         # channels. 1 = mono, 2 = stereo

# this section describes a streaming connection to an IceCast server
# there may be up to 8 of these sections, named [icecast-0] ... [icecast-7]
# these can be mixed with [icecast2-x] and [shoutcast-x] sections
bitrateMode     = cbr       # constant bit rate
bitrate         = 16        # bitrate of the mp3 stream sent to the server
quality         = 0.8       # encoding quality
server          = MyDomain.net # host name of the server
port            = 8000   # port of the IceCast server, usually 8000
password        = password # source password to the IceCast server
mountPoint      = test # mount point of this stream on the IceCast server

<p><p>thanks for help :)
--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast mailing list