| View previous topic :: View next topic |
| Author |
Message |
masterd01
Joined: 09 Feb 2008 Posts: 8
|
Posted: Wed Jan 14, 2009 5:44 pm Post subject: Problem with ices0 fallbacks |
|
|
Hello all together,
first of all: i wish you a very good 2009 with great ideas and lot of fun with new Icecast-Functions.
I'm using the Icecast Server and have had about 4 (Slave)Streams, witch are connected at most time in the fallback-modus to one Master-Stream, witch is 24 Hours for Sending.
For One or Two-Times a Hour direct Sources are connected to the Slavechannels at the same Time. 4 Different Ices0-Sessions starts with one Bashscript at the same Time for the four-Slavestreams and Plays different Soundfiles. - That works great.
The Problem is, that if im listing to the Slavechannel 3 and the Source ices0 connects to the four Channels i hear the Sound of Channel 1.
I thouht, that must be a fail configuration at the ices0 Source . But it issnt.
If the Source is connected to the Icecast-Slvaes and i restart my Listining-Client i hear the correct Playback of Source 3. - But ist equal witch Slave i take. All Channels play the Source of Channel 1 incl. Channel1 when i'm still connected and the source comes through
I testet to start ices0 manuelly on Channel 1:
/usr/local/bin/ices -B -c /usr/local/etc/ices/channel01_1.xml > /dev/null
Then i hear on Channel 3 (witch is in Fallbackmodus) the Source-from Channel 1. But there is no defination that he should do this.
Also at this part if i reconnect my hearing-client i hear the fallback again.
This is the 24-Sending-Master:
| Code: |
<mount>
<mount-name>/rkmaster01</mount-name>
<password>XXX</password>
<burst-size>65536</burst-size>
<!-- <intro>/example_intro.ogg</intro>-->
<hidden>0</hidden>
<no-yp>0</no-yp>
<stream-name>NAME</stream-name>
<stream-description>TEXT</stream-description>
<stream-url>http:///</stream-url>
<genre>Pop</genre>
</mount>
|
This is the first Slave witch connects to the Master-Stream:
| Code: |
<mount>
<mount-name>/mainchannel</mount-name>
<password>XXX</password>
<burst-size>65536</burst-size>
<!-- <intro>/example_intro.ogg</intro>-->
<hidden>0</hidden>
<no-yp>0</no-yp>
<stream-name>MAINCHANNEL</stream-name>
<stream-description>XXX</stream-description>
<stream-url>http://</stream-url>
<fallback-mount>/rkmaster01</fallback-mount>
<fallback-override>1</fallback-override>
<genre>Pop</genre>
</mount>
|
These are the Slaves whose are making the Fallbackproblems:
| Code: |
<mount>
<mount-name>/channel01</mount-name>
<password>XXX</password>
<burst-size>65536</burst-size>
<!-- <intro>/example_intro.ogg</intro>-->
<hidden>1</hidden>
<no-yp>0</no-yp>
<stream-name> - channelstream 01</stream-name>
<stream-description>X</stream-description>
<stream-url>http://www./</stream-url>
<fallback-mount>/mainchannel</fallback-mount>
<fallback-override>1</fallback-override>
<genre>Pop</genre>
</mount>
<mount>
<mount-name>/channel02</mount-name>
<password>XXX</password>
<burst-size>65536</burst-size>
<!-- <intro>/example_intro.ogg</intro>-->
<hidden>1</hidden>
<no-yp>0</no-yp>
<stream-name> - channelstream 02</stream-name>
<stream-description>X</stream-description>
<stream-url>http://www./</stream-url>
<fallback-mount>/mainchannel</fallback-mount>
<fallback-override>1</fallback-override>
<genre>Pop</genre>
</mount>
<mount>
<mount-name>/channel03</mount-name>
<password>XXX</password>
<burst-size>65536</burst-size>
<!-- <intro>/example_intro.ogg</intro>-->
<hidden>1</hidden>
<no-yp>0</no-yp>
<stream-name> - channelstream 03</stream-name>
<stream-description>X</stream-description>
<stream-url>http://www./</stream-url>
<fallback-mount>/mainchannel</fallback-mount>
<fallback-override>1</fallback-override>
</mount>
<mount>
<mount-name>/channel04</mount-name>
<password>XXX</password>
<burst-size>65536</burst-size>
<!-- <intro>/example_intro.ogg</intro>-->
<hidden>1</hidden>
<no-yp>0</no-yp>
<stream-name> - channelstream 04</stream-name>
<stream-description>X</stream-description>
<stream-url>http://www./</stream-url>
<fallback-mount>/mainchannel</fallback-mount>
<fallback-override>1</fallback-override>
<genre>Pop</genre>
</mount>
|
Do you have any ideas why i hear the Source (ices0) for Example from channel01 when i'm connected to Channel 3 witch is in Fallback to /mainchannel.
If i reconnect it's ok.
Many thanks for your fast and great support.
Greetings from Germany,
MasterD[/code] |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jan 14, 2009 10:56 pm Post subject: |
|
|
I suspect the problem you are having is just down to the fact that your independent slave streams have a shared fallback stream. Where your listeners on one stream fallback then get picked up by another. You can avoid this sort of thing by creating a local relay of the fallback stream (which itself does not fall back anywhere else) just so that you can separate listeners from the different slave mountpoints. If you set the relay as on-demand then it won't take any processing when not active either.
karl. |
|
| Back to top |
|
 |
masterd01
Joined: 09 Feb 2008 Posts: 8
|
Posted: Thu Jan 15, 2009 7:50 am Post subject: |
|
|
Hello Karl,
thanks for your advise. I've add an localrelay-server, but it didn't work. Is it correct, that i only had do add one Relay or for each Slavestream ?
Have i correctly configured the streaming ?
| Code: |
<relay>
<server>localhost</server>
<port>8000</port>
<mount>/rkmaster01</mount>
<local-mount>/rueckfall1</local-mount>
<on-demand>1</on-demand>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
</icecast>
|
On each the Slaves it looks so:
| Code: |
<mount>
<mount-name>/channel01</mount-name>
<password>XXX</password>
<burst-size>65536</burst-size>
<!-- <intro>/example_intro.ogg</intro>-->
<hidden>1</hidden>
<no-yp>0</no-yp>
<stream-name> - channelstream 01</stream-name>
<stream-description>X</stream-description>
<stream-url>http://www./</stream-url>
<fallback-mount>/rueckfall1</fallback-mount>
<fallback-override>1</fallback-override>
<genre>Pop</genre>
</mount>
|
Thanks for your Support |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jan 15, 2009 3:21 pm Post subject: |
|
|
configuration wise it looks ok, obviously I don't have enough information to determine why it isn't working, but the error log should tell you.
karl. |
|
| Back to top |
|
 |
masterd01
Joined: 09 Feb 2008 Posts: 8
|
Posted: Fri Jan 16, 2009 3:34 pm Post subject: |
|
|
Hello Karl,
yes your advise was right. Now the Relaying works great but one Thing won't work. - If i connect to a Slave-Stream (who is in Fallback to the Masterchannels) the Introfile <intro>/05_opener.mp3</intro> is not playing. Same thing on the new created Relay-Channels.
I've i'm adding my direct source on the Slave than the intro is Played.
I had also looked by searching this Board, but didn't found any solution.
Have you any Idea ?
Many thanks for your great support ! Thxxxxxxx
Masterd |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jan 16, 2009 4:32 pm Post subject: |
|
|
If you are relaying a stream with an intro then your slave won't know it's an intro. If it get the intro content very quickly relaying to any listening at the time then continue with whatever else is on the stream. If you want the slave to play an intro then the slave need to be explicitly told to use an intro file.
karl.
Last edited by karlH on Fri Jan 16, 2009 8:37 pm; edited 1 time in total |
|
| Back to top |
|
 |
masterd01
Joined: 09 Feb 2008 Posts: 8
|
Posted: Fri Jan 16, 2009 4:36 pm Post subject: |
|
|
Hello Karl,
both aren't working. Is there any Failure in my Config ?
| Code: |
<relay>
<server>localhost</server>
<port>8000</port>
<mount>/master</mount>
<local-mount>/rueckfall5</local-mount>
<on-demand>1</on-demand>
<intro>/05_opener.mp3</intro>
<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
|
or
| Code: |
<mount>
<mount-name>/customer1</mount-name>
<password>XXX</password>
<burst-size>65536</burst-size>
<intro>/05_opener.mp3</intro>
<hidden>1</hidden>
<no-yp>0</no-yp>
<stream-name>customer1</stream-name>
<stream-description>X</stream-description>
<stream-url>http:///</stream-url>
<genre>Pop</genre>
<authentication type="htpasswd">
<option name="filename" value="/usr/local/share/icecast/authusers/customer"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
<fallback-mount>/rueckfall5</fallback-mount>
<fallback-override>1</fallback-override>
</mount>
|
Thx |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jan 16, 2009 8:41 pm Post subject: |
|
|
intro is a mount option, the xml fragments looks ok but obviously I don't know if the intro is read or not because only you have access to the logging. Maybe you are missing the intro on a <mount> on /rueckfall5
karl. |
|
| Back to top |
|
 |
|