| View previous topic :: View next topic |
| Author |
Message |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Sat May 15, 2010 7:14 pm Post subject: Is It Possible For The Stream Not To Stop? |
|
|
I run a small internet radio station that we broadcast once a week, and we have about 6 people from all over the country that DJ.
Problem is, when a DJ disconnects the stream dies which means that all my listeners have to re-enter the station URL to reconnect.
I was wondering if there was any way of stopping this, maybe by making Icecast play a default file as soon as someone disconnects so that the listener can stay connected until the next DJ joins the server?
I'm using EDDCAST through Winamp to stream audio.
Thanks in advance! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat May 15, 2010 7:59 pm Post subject: |
|
|
Read the documentation for the <fallback-mount> and <fallback-override> settings. You can use a file or stream.
karl. |
|
| Back to top |
|
 |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Sat May 15, 2010 9:32 pm Post subject: |
|
|
| Thanks! Where can I find said documentation? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat May 15, 2010 10:54 pm Post subject: |
|
|
We provide it under the doc subdirectory, but if you are asking where is it installed then that will depend on how you installed it.
karl. |
|
| Back to top |
|
 |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Sun May 16, 2010 10:46 pm Post subject: |
|
|
Hey, sorry to keep pestering you all xD
There are no files under my Doc subdirectory. Is there anywhere I can find these files online perhaps? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
|
| Back to top |
|
 |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Mon May 17, 2010 9:42 pm Post subject: |
|
|
Hello, and thanks for the help so far.
I located the Docs and inserted the <fallbackmount> and <Fallbackoveride> into my server Config like so:
<mount>
<fallback-mount>C:\Users\Administrator\Music\Jingle.ogg</fallback-mount>
<fallback-override>1</fallback-override>
</mount>
However, I think I may be doing something wrong. Do I need to set listener numbers, bitrate etc. seeing as though just the server will be broadcasting the specific file while the next Dj readies for their set?
Also, am I even able to use a file from my computer or will it need to be uploaded to a webserver? I am currently using Icecast from my computer in order to brodacast.
Once again, thankyou for your help.
Liam |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon May 17, 2010 10:50 pm Post subject: |
|
|
The fallback-mount (as a file) is appended to webroot and opened by icecast. It is unlikely that you meant C:\....
As to where the file is located, it does not matter, as long as icecast can open it via <webroot>/.....
As a side note, you will need a <mount-name> in <mount> or else icecast won't know which stream it applies to.
karl. |
|
| Back to top |
|
 |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Tue May 18, 2010 8:50 pm Post subject: |
|
|
Sorry, I'm confused.
I can't run a file from my computer? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue May 18, 2010 9:11 pm Post subject: |
|
|
You have to be clear on the context in which you phrase the question. When you say 'my computer', that does not tell me where that is in relation to icecast or if icecast can access it. The fallback handling is within icecast so icecast has to be able to read the file whether that is on 'my computer' or not. If you are thinking that icecast will inform the player to read this file else then no, after all, as a linux user you should not expect passing a filename like that to me would work.
karl. |
|
| Back to top |
|
 |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Tue May 18, 2010 9:41 pm Post subject: |
|
|
Ok, I'm sorry I'll be more clear.
The file I'm wishing to stream as my fallback mount is a .ogg file located within a directory on my hardrive. It's on the same drive as Icecast itself, and I'm attempting to get Icecast to locate this file, with no results so far.
Am I doing something wrong? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue May 18, 2010 10:45 pm Post subject: |
|
|
The file will need to be under webroot (or at least referenced from under webroot). As I said before the actual path is
<webroot><fallback>
so having C:\..... as the fallback will not work as that is an absolute OS specific path.
karl. |
|
| Back to top |
|
 |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Wed May 19, 2010 6:49 am Post subject: |
|
|
| Thanks very much : ) Really appreciate your help. |
|
| Back to top |
|
 |
meevil
Joined: 15 May 2010 Posts: 17
|
Posted: Thu May 20, 2010 6:53 pm Post subject: |
|
|
Ok, I'm sorry that I keep going on about this but I'm getting really confused.
My webroot is just set to the default ./web directory. I presume this is the directory found within the Icecast installation files along with /log etc.
I have therefore placed my .ogg fallback mount into this directory, set the Mount name to /stream.ogg (we broadcast using EDDCast) and tested the sever.
Still no luck. When someone disconnects, nothing happens. The client simply looses connection.
I'm using WIN32. Do I need to change my WEBROOT?
Thankyou so much for your help. This is an educational experience xD |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 21, 2010 12:14 am Post subject: |
|
|
"I have therefore placed my .ogg fallback mount into this directory"
Does that mean you have placed an ogg file in the webroot directory with the same name as specified in the fallback-mount. If so, check the error log (in ./log) to see if there are any messages relating to that fallback. Please note that I'm completely guessing at what you have specified in the xml.
karl. |
|
| Back to top |
|
 |
|