| View previous topic :: View next topic |
| Author |
Message |
Putiatin Guest
|
Posted: Fri Feb 17, 2006 12:49 pm Post subject: icecast + ices |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Feb 17, 2006 12:53 pm Post subject: |
|
|
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 |
|
 |
Putiatin Guest
|
Posted: Fri Feb 17, 2006 12:55 pm Post subject: |
|
|
can you write me an example of code?  |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Feb 17, 2006 2:40 pm Post subject: |
|
|
| 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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Feb 17, 2006 2:53 pm Post subject: |
|
|
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 |
|
 |
Putiatin Guest
|
Posted: Fri Feb 17, 2006 3:31 pm Post subject: |
|
|
| 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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Feb 17, 2006 3:48 pm Post subject: |
|
|
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 |
|
 |
Putiatin Guest
|
Posted: Sun Feb 19, 2006 8:55 am Post subject: |
|
|
| 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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 19, 2006 2:07 pm Post subject: |
|
|
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 |
|
 |
Putiatin Guest
|
Posted: Sun Feb 19, 2006 2:16 pm Post subject: |
|
|
| It changes first 3-4 times at all and than stops |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 19, 2006 3:59 pm Post subject: |
|
|
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 |
|
 |
Putiatin Guest
|
Posted: Sun Feb 19, 2006 6:05 pm Post subject: |
|
|
| 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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 19, 2006 8:12 pm Post subject: |
|
|
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 |
|
 |
|