| View previous topic :: View next topic |
| Author |
Message |
latux
Joined: 15 Jun 2009 Posts: 3
|
Posted: Tue Jun 16, 2009 7:15 am Post subject: multicasting |
|
|
Good Morning,
i want to build a relay-server to stream more sources in my school.
Each user should load a stream and each stream have to be reserve on different ports.
Example:
user1 --load--> ip:port1 --relay--> stream on ip:port1+1
user2 --load--> ip:port2 --relay--> stream on ip:port2+1
Can i do this with Icecast? or need i a multicast-Server?
Thanks for a answer.
Latux |
|
| Back to top |
|
 |
latux
Joined: 15 Jun 2009 Posts: 3
|
Posted: Thu Jun 18, 2009 7:59 am Post subject: |
|
|
| thanks for nothing..... |
|
| Back to top |
|
 |
robertut
Joined: 31 Aug 2007 Posts: 156
|
Posted: Thu Jun 18, 2009 11:44 am Post subject: |
|
|
Maybe the question is not clear enough...
| Quote: |
| Each user should load a stream and each stream have to be reserve on different ports. |
What does this exactly mean in real-life? What's the use of it? |
|
| Back to top |
|
 |
latux
Joined: 15 Jun 2009 Posts: 3
|
Posted: Tue Jun 23, 2009 8:13 am Post subject: |
|
|
ok
i have one icecast server.
but i want 2 or more stream
For example:
the first client send his stream on the server, the server serve the stream on http://myserver:8000
the second client send his stream on the server, the server serve on http://myserver:8002
the listener from first client SHOULD NOT hear the stream from the second one.
the listener from second client SHOULD NOT hear the stream from the first one.
Can one session of icecast do this? or should i run 2 session?
if a third client come, should i restart the server with a third port or can i define 10 ports, start the server and when a third client come, he receive from me a free port and can stream?
I hope it's clearer.
Thanks for your help.
Latux |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jun 23, 2009 11:51 am Post subject: |
|
|
I suspect you are wanting to map the / mountpoint to different streams depending on which port the request is coming from. This is possible by specifying a set of aliases
The shipped xml files map / to status.xsl, but they could be streams if you wish.
<alias source="/" dest="/index.html"/>
<alias source="/" port="8002" dest="/stream1"/>
<alias source="/" port="8004" bind-address="192.168.1.1" dest="/stream2"/>
karl. |
|
| Back to top |
|
 |
bmn
Joined: 03 Aug 2008 Posts: 12
|
Posted: Tue Jun 23, 2009 12:05 pm Post subject: |
|
|
Do you strictly need ports (existing setup?), or can this not already be done with mountpoints? Shoutcast requires multiple ports (or rather, multiple instances) for multiple streams, but Icecast doesn't.
You could give each source client a different mountpoint to use (/radio1.ogg, /radio2.ogg e.g.) and have your listeners use the corresponding path for it (e.g. http://urserv0r.com:8000/radio3.ogg). |
|
| Back to top |
|
 |
|