| View previous topic :: View next topic |
| Author |
Message |
gipsy
Joined: 07 Sep 2009 Posts: 5
|
Posted: Mon Sep 07, 2009 8:19 am Post subject: icecast+ices+sam=stream break |
|
|
Hi, All!
Sorry for bad English
what I have:
Two mount points in config Icecast - /listen and /musicwave
to a point /musicwave is connected ices and broadcasts from the playlist - a nonpilot air
to a point /listen is connected SAM and RJ through it speaks in an air and puts his tracks
My problem:
When SAM connecting to Icecast, listener loses a stream /musicwave, and don't automatically get stream /listen. Get it only after player refresh. Also at disconnect.
My Icecast and Ices configs:
------------------------------------------------------
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<charset>UTF8</charset>
<authentication>
<source-password>pass</source-password>
<relay-password>pass</relay-password>
<admin-user>admin</admin-user>
<admin-password>pass</admin-password>
</authentication>
<hostname>domain.org</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<mount>
<mount-name>/listen</mount-name>
<charset>UTF8</charset>
<stream-name> LIVE AIR</stream-name>
<stream-description> </stream-description>
<stream-url>http://domain.org:8000/listen</stream-url>
<bitrate>64</bitrate>
<username>source</username>
<password>pass</password>
<intro>/intro64.mp3</intro>
<fallback-mount>/musicwave</fallback-mount>
<fallback-override>1</fallback-override>
</mount>
<mount>
<mount-name>/musicwave</mount-name>
<charset>UTF8</charset>
<stream-name>Radiostation</stream-name>
<stream-description> </stream-description>
<stream-url>http://domain.org:8000/musicwave</stream-url>
<bitrate>64</bitrate>
<username>source</username>
<password>pass</password>
<intro>/intro64.mp3</intro>
<fallback-mount>/listen</fallback-mount>
<fallback-override>1</fallback-override>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>/home/gipsy</basedir>
<logdir>/home/gipsy/logs</logdir>
<webroot>/home/gipsy/web</webroot>
<adminroot>/home/gipsy/admin</adminroot>
<pidfile>/home/gipsy/logs/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl" />
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel>
<logsize>10000</logsize>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>gipsy</user>
<group>gipsy</group>
</changeowner>
</security>
</icecast>
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
<Playlist>
<File>/music/playlist.txt</File>
<Randomize>1</Randomize>
<Type>builtin</Type>
<Module>ices</Module>
<Crossfade>5</Crossfade>
</Playlist>
<Execution>
<Background>1</Background>
<Verbose>0</Verbose>
<BaseDirectory>/tmp</BaseDirectory>
</Execution>
<Stream>
<Server>
<Hostname>127.0.0.1</Hostname>
<Port>8000</Port>
<Password>pass</Password>
<Protocol>http</Protocol>
</Server>
<Mountpoint>/musicwave</Mountpoint>
<Public>0</Public>
<Bitrate>64</Bitrate>
<Reencode>1</Reencode>
<Samplerate>44100</Samplerate>
<Channels>1</Channels>
</Stream>
</ices:Configuration>
------------------------------------------------------
Have you any ideas?
Thanks for yours answers
---
CUL, All!
Last edited by gipsy on Tue Sep 08, 2009 3:41 am; edited 3 times in total |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Sep 07, 2009 3:03 pm Post subject: |
|
|
if you intend to have a live feed on /live and ices on /music (24/7) then have listeners connect to live but fallback to /music. At the moment you have /musicwave fallback to /listen.
karl. |
|
| Back to top |
|
 |
gipsy
Joined: 07 Sep 2009 Posts: 5
|
Posted: Tue Sep 08, 2009 3:02 am Post subject: |
|
|
Hi, karlH!
Thanks,
but what i must do?
Remove lines
<fallback-mount>/listen</fallback-mount>
<fallback-override>1</fallback-override>
from the mountblock /musicwave ?
Or something else?
---
CUL, karlH |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Sep 08, 2009 3:24 am Post subject: |
|
|
it is a start. You need to be clear on what you intend each of the mountpoints are for. So far you have mentioned /live, /music, /musicwave and /listen and as far as I can tell you have 2 source clients, one for live content, the other for a playlist.
karl. |
|
| Back to top |
|
 |
gipsy
Joined: 07 Sep 2009 Posts: 5
|
Posted: Tue Sep 08, 2009 3:35 am Post subject: |
|
|
mountpoints only two - /musicwave (for Ices) and /listen (for live content over SAM broadcaster (http://www.spacialaudio.com/)). Other points are not necessary.
P.S. Sorry, error in mountpoints description in my first post, but the problem is stay |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Sep 08, 2009 11:59 am Post subject: |
|
|
so you want /listen to fallback to /musicwave
karl. |
|
| Back to top |
|
 |
gipsy
Joined: 07 Sep 2009 Posts: 5
|
Posted: Wed Sep 09, 2009 2:33 am Post subject: |
|
|
| yes |
|
| Back to top |
|
 |
|