| View previous topic :: View next topic |
| Author |
Message |
tucker
Joined: 12 Mar 2009 Posts: 6
|
Posted: Wed Sep 09, 2009 10:51 pm Post subject: Multiple live streams |
|
|
I am trying two different live get two live streams working on my server using the same instance of icecast.
Currently my server has one stream that is fed by winamp with the shoutcast plugin and then streamed out.
http://myserver.com:8000/stream
I would like to now add another different stream. Is this possible with icecast in the same instance? Interesting is that I don't define /stream anywhere but that is how I connect.
Any help is much appreciated.
Thanks and good day to all.
<listen-socket>
<port>8000</port>
</listen-socket>
<listen-socket>
<port>8001</port>
<shoutcast-compat>1</shoutcast-compat>
</listen-socket> |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 09, 2009 11:29 pm Post subject: |
|
|
using icecast 2.3.2 you can but you'll have to define your ports differently.
<listen-socket>
<port>8000</port>
<shoutcast-mount>/stream1</shoutcast-mount>
</listen-socket>
<listen-socket>
<port>9000</port>
<shoutcast-mount>/stream2</shoutcast-mount>
</listen-socket>
the shoutcast source clients don't supply a mountpoint like the icecast ones do, so you have to use the ports to map to a different mountpoint. In the above example, each one implicitly defines port N+1 for use by the source client, but listeners can use either port 8000 or 9000 to get either stream.
karl. |
|
| Back to top |
|
 |
tucker
Joined: 12 Mar 2009 Posts: 6
|
Posted: Thu Sep 10, 2009 6:03 am Post subject: |
|
|
I owe you a huge... That worked so nice..
Thanks! |
|
| Back to top |
|
 |
|