View previous topic :: View next topic |
Author |
Message |
Jonog
Joined: 21 Feb 2010 Posts: 30
|
Posted: Sat Apr 17, 2010 6:50 pm Post subject: Two stations one ice cast?? |
|
|
Hi I am not the best at this is it possible to do this.
Have two instances of edcast, each feeding icecast a different audio but only use one ice cast?
If so how do I do it.
I have one edcast succesfully working with ice cast but I do not know what to do with the second to get it to work. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Apr 17, 2010 7:16 pm Post subject: |
|
|
use the icecast protocol settings in the plugin and specify a different mountpoint name for the second stream. That way you'll have
http://host:port/mount1 and
http://host:port/mount2
karl. |
|
Back to top |
|
|
Jonog
Joined: 21 Feb 2010 Posts: 30
|
Posted: Sat Apr 17, 2010 7:25 pm Post subject: |
|
|
Sorry for being dumb but what do I have to do in the config file.
At the moment the only thing I could do was run another icecast and change the port to 7999 (the other is 8000), I just copied the whole config file and changed that bit.
Thanks. |
|
Back to top |
|
|
Jonog
Joined: 21 Feb 2010 Posts: 30
|
Posted: Tue Jun 01, 2010 3:28 am Post subject: |
|
|
<!-- Start Copy Here -->
<icecast>
<limits>
<clients>20</clients>
<sources>5</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>secret1</source-password>
<relay-password>secret2</relay-password>
<admin-user>admin</admin-user>
<admin-password>secret3</admin-password>
</authentication>
<hostname>10.1.1.125</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<mount>
<mount-name>/mount.ogg</mount-name>
<max-listeners>3</max-listeners>
<hidden>1</hidden>
<no-yp>1</no-yp>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>./</basedir>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
<security>
<chroot>0</chroot>
</security>
</icecast> |
|
Back to top |
|
|
Brutish
Joined: 18 Mar 2010 Posts: 62
|
Posted: Tue Jun 01, 2010 6:15 am Post subject: |
|
|
You need to change this arround a bit. This is very similar to my setup.
This isnt like Shoutcast with one source. You can have more than one source. As a result, You just add mounts, and then set your sources up to stream to them.
<mount-name>/mount.ogg</mount-name>
<max-listeners>3</max-listeners>
<hidden>1</hidden>
<no-yp>1</no-yp>
Just add another mount! I should put this in my next video tutorial.
Then one source streams to one mount, one source streams to a different mount. NOW, if your asking how to set it up with different bitrates from one source, you will need a transcoder. You can download the one from oddsock, but there is a lot of quirks to it to make it work right I always get stuck on. but yeah, dont just run another icecast server, run it on the same server. If your doing that you might as well use Shoutcast. One of icecast best features is to preserve system resources in this nature. _________________ www.Hobbycaster.com |
|
Back to top |
|
|
|