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 

icecast + ices

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Putiatin
Guest





PostPosted: Fri Feb 17, 2006 12:49 pm    Post subject: icecast + ices Reply with quote

Hello. I need help. I need icecast to work with ices together. Example: Ičm broadcasting from Sam Broadcaster and when I stop broadcasting - ices starts to work and broadcasting dončt stop in same stream (I don't like every stream to have different name, I want to broadcast without stop from http://qhosting.ru:8888/live.m3u ) How can I do this? Now I must stop ices to start broadcasting from my computer and then stop Sam Broadcaster to start icecast. Please, Help.

ps Sorry for my pure English, I'm from Russia
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Feb 17, 2006 12:53 pm    Post subject: Reply with quote

If you want ices to act as a backup to sam then define a fallback-mount (with override) in the <mount> for the sam mountpoint, referring to the mountpoint for ices. any listeners request the sam mountpoint will then automatically drop back to the ices stream if sam is not broadcasting.

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





PostPosted: Fri Feb 17, 2006 12:55 pm    Post subject: Reply with quote

can you write me an example of code? Smile
Back to top
Guest






PostPosted: Fri Feb 17, 2006 2:40 pm    Post subject: Reply with quote

if you can, send me to putiatin@gmail.com examles of right config files (icecast and ices) to make them working together, because I can't do this
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Feb 17, 2006 2:53 pm    Post subject: Reply with quote

assuming what I described is what you want, then icecast should have

<mount>
<mount-name>/live<//mount-name>
<fallback-mount>/backup</fallback-mount>
<fallback-override>1</fallback-override>
</mount>

with sam connecting on mountpoint /live, and ices connecting on mountpoint /backup. Not difficult at all. The only reason why it would fail with this is if ices disconnects at the time listeners should be on /ices.

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





PostPosted: Fri Feb 17, 2006 3:31 pm    Post subject: Reply with quote

Thanks a lot! And another question, how can I make ices to encode music to another bitrait on fly?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Feb 17, 2006 3:48 pm    Post subject: Reply with quote

Based on those mountpoint names, you are dealing with mp3 streams so therefore ices 0.4 can be used. ices can reencode to different bitrates provided you have the lame library installed.

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





PostPosted: Sun Feb 19, 2006 8:55 am    Post subject: Reply with quote

I have a problem, when I connect to server from Sam it begins broadcasting, when I stop Sam ices starts, but after I connected and disconnected Sam ices doesn't change name of song but plaing different songs, what I must do?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 19, 2006 2:07 pm    Post subject: Reply with quote

check the log to make sure metadata updates are occurring on the ices stream, check the /status.xsl page, see if the song name is appearing there.

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





PostPosted: Sun Feb 19, 2006 2:16 pm    Post subject: Reply with quote

It changes first 3-4 times at all and than stops
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 19, 2006 3:59 pm    Post subject: Reply with quote

so what you are saying is that ices is not updating the metadata at all after the first 3-4 updates. No attempts are shown in the icecast log. This would tend to indicate some issue with ices correct?

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





PostPosted: Sun Feb 19, 2006 6:05 pm    Post subject: Reply with quote

There is nothing in logs that can help, but names of tracks are not displayd not from live not from ices, but in Sam it is enabled and in ices too, first 3-4 songs are displaing and then not
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 19, 2006 8:12 pm    Post subject: Reply with quote

To be clear on this. If you receive 3-4 updates in the player then you will see log entries relating to those. eg /admin/metadata in the access log and some entries in the error log if the log level is high enough. The log files tell us what icecast does so is very helpful, even if things are missing.

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
Page 1 of 1

 
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