[icecast] Server drops client - problem with IceS?

Jørgen Elgaard Larsen maillistparticipant at elgaard.net
Wed Feb 4 03:28:20 PST 2004



Geoff Shang wrote:
> Does your playback match the sound that you are encoding?  Perhaps share
> your config file so we can help troubleshoot this.

I would think so, but I might have missed something.

<p>Here is my IceS2-config - with this one, the problem manifests after 2 
minutes of playing, and the client is disconnected after 3 minutes.

I have tried tweaking bitrate, quality, samplerates etc. While it does 
have _some_ effect on how long the client stays connected, it is not much.

<p><?xml version="1.0"?>
<ices>
     <background>1</background> <!-- run in background?  -->
     <logpath>/var/log/icecast</logpath> <!-- where logs, etc go. -->
     <logfile>ices.log</logfile>
     <loglevel>4</loglevel> <!-- 1=error,2=warn,3=info,4=debug -->
     <consolelog>0</consolelog>
         <!-- set this to 1 to log to console of file above -->
     <pidfile>/var/run/ices.pid</pidfile>
     <stream>
         <!-- metadata used for stream listing (not currently used) -->
         <metadata>
             <name>Test of Icecast</name>
             <genre>Test</genre>
             <description>Testing 1,2,3</description>
         </metadata>
         <input>
             <module>alsa</module>
             <param name="rate">44100</param>
             <param name="channels">2</param> <!-- number of channels -->
             <param name="device">hw:0,0</param> <!-- audio device -->
             <param name="metadata">1</param>
             <param name="metadatafilename">/etc/icecast/meta</param>
         </input>
         <instance>
             <hostname>localhost</hostname>
             <port>9090</port>
             <password>xxxx</password>
             <mount>/test4.ogg</mount>
             <reconnectdelay>1</reconnectdelay>
             <reconnectattempts>50</reconnectattempts>
             <maxqueuelength>180</maxqueuelength>
             <encode>
                 <managed>0</managed>
                 <nominal-bitrate>128000</nominal-bitrate>
                     <!-- bps. e.g. 64000 for 64 kbps -->
                     <!-- bps. e.g. 32000 optimal for lesser cards -->
                 <samplerate>44100</samplerate>
                     <!-- 220500 optimal for older cards -->
                 <channels>2</channels>
                 <quality>3</quality>
             </encode>
         </instance>
     </stream>
</ices>

<p>Sincerely,

<p>Jørgen Elgaard Larsen
IT Manager
University Radio of Copenhagen
Denmark

--- >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