[Icecast] Problem with icecast

001101 001101 at kanal7.ru
Fri Nov 10 10:06:18 UTC 2006


Hi all !
----------
I have problem with streaming...

I use:
Linux Fedora Core 4 - 2.6.17-1.2142_FC4smp
Icecast 2.3.1 - installed from yum
ices 0.4 - installed from source
vlc 0.8.5 - installed from yum
----------
Im starting vlc like - 
......'#duplicate{dst="std{access=file,mux=raw,url=/usr/local/etc/ices/fifo/hitfm.mp3}",select="program=21",dst="std{access=file,mux=raw,url=/usr/local/etc/ices/fifo/dfm.mp3}"...


and test fifo - cat hitfm.mp3 > hit - and i see filesize is increase...
after that i starting icecast and ices, and try listen radio but i can 
listen only 2 of 10 station !
 but all fifo work done.
in ices logfile i see:
Error during send: Libshout reported send error, disconnecting: Socket error
Mounted on http://localhost:8080/dfm.mp3

in icecast logfile:
127.0.0.1 - - [11/Nov/2006:01:02:36 +0700] "SOURCE /rsn.mp3 HTTP/1.0" 
200 19 "-" "ices/0.4 libshout/2.2.2" 41
127.0.0.1 - - [11/Nov/2006:01:02:37 +0700] "SOURCE /dfm.mp3 HTTP/1.0" 
200 19 "-" "ices/0.4 libshout/2.2.2" 11
127.0.0.1 - - [11/Nov/2006:01:02:38 +0700] "SOURCE /energy.mp3 HTTP/1.0" 
200 19 "-" "ices/0.4 libshout/2.2.2" 2500
127.0.0.1 - - [11/Nov/2006:01:02:39 +0700] "SOURCE /auto.mp3 HTTP/1.0" 
200 19 "-" "ices/0.4 libshout/2.2.2" 2501
---------


icecast config file
===========
<icecast>
    <limits>
        <clients>100</clients>
        <sources>10</sources>
        <threadpool>5</threadpool>
        <queue-size>102400</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <burst-on-connect>0</burst-on-connect>
        <burst-size>65535</burst-size>
    </limits>

    <authentication>
        <source-password>12345</source-password>
        <relay-password>12345</relay-password>
        <admin-user>admin</admin-user>
        <admin-password>12345</admin-password>
    </authentication>
    <hostname>radio.kanal7.ru</hostname>
    <listen-socket>
        <port>8080</port>
    </listen-socket>

    <mount>
        <mount-name>/auto.mp3</mount-name>
    </mount>
    <mount>
        <mount-name>/energy.mp3</mount-name>
    </mount>
    <mount>
        <mount-name>/hitfm.mp3</mount-name>
    </mount>
    <mount>
        <mount-name>/dfm.mp3</mount-name>
    </mount>
    <mount>
        <mount-name>/rsn.mp3</mount-name>
    </mount>
    <mount>
        <mount-name>/record.mp3</mount-name>
    </mount>
    <mount>
        <mount-name>/mcarlo.mp3</mount-name>
    </mount>
    <mount>
        <mount-name>/mayak.mp3</mount-name>
    </mount>

    <fileserve>1</fileserve>
    <paths>
        <basedir>/usr/share/icecast</basedir>
       <logdir>/var/log/icecast</logdir>
        <webroot>/usr/share/icecast/web</webroot>
        <adminroot>/usr/share/icecast/admin</adminroot>
        <pidfile>/var/run/icecast/icecast.pid</pidfile>
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <playlistlog>playlist.log</playlistlog>
        <loglevel>4</loglevel>
    </logging>

    <security>
        <chroot>0</chroot>
        <changeowner>
            <user>icecast</user>
            <group>icecast</group>
        </changeowner>
    </security>
</icecast>



ices.conf for  station
==============
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
  <Playlist>
    <File>/usr/local/etc/ices/playlists/auto.pls</File>
    <Randomize>0</Randomize>
    <Type>builtin</Type>
    <Module>ices</Module>
  </Playlist>

  <Execution>
    <Background>1</Background>
    <Verbose>0</Verbose>
    <BaseDirectory>/var/log/ices/auto</BaseDirectory>
  </Execution>

  <Stream>
    <Server>
      <Hostname>localhost</Hostname>
      <Port>8080</Port>
      <Password>12345</Password>
      <Protocol>http</Protocol>
    </Server>
    <Mountpoint>/auto.mp3</Mountpoint>
    <Name>Autoradio</Name>
    <Genre>Radio</Genre>
    <Public>0</Public>
    <Bitrate>192</Bitrate>
    <Reencode>1</Reencode>
    <Channels>2</Channels>
  </Stream>
</ices:Configuration>

All other ices config making us this.....what i do wrong ?.


P.S Sorry fro my English.



More information about the Icecast mailing list