Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is It Possible For The Stream Not To Stop?
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Sat May 15, 2010 7:14 pm    Post subject: Is It Possible For The Stream Not To Stop? Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat May 15, 2010 7:59 pm    Post subject: Reply with quote

Read the documentation for the <fallback-mount> and <fallback-override> settings. You can use a file or stream.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Sat May 15, 2010 9:32 pm    Post subject: Reply with quote

Thanks! Where can I find said documentation?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat May 15, 2010 10:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Sun May 16, 2010 10:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon May 17, 2010 12:29 am    Post subject: Reply with quote

http://www.icecast.org/docs/

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Mon May 17, 2010 9:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon May 17, 2010 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Tue May 18, 2010 8:50 pm    Post subject: Reply with quote

Sorry, I'm confused.

I can't run a file from my computer?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue May 18, 2010 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Tue May 18, 2010 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue May 18, 2010 10:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Wed May 19, 2010 6:49 am    Post subject: Reply with quote

Thanks very much : ) Really appreciate your help.
Back to top
View user's profile Send private message
meevil



Joined: 15 May 2010
Posts: 17

PostPosted: Thu May 20, 2010 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri May 21, 2010 12:14 am    Post subject: Reply with quote

"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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber