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 

multicasting

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



Joined: 15 Jun 2009
Posts: 3

PostPosted: Tue Jun 16, 2009 7:15 am    Post subject: multicasting Reply with quote

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
View user's profile Send private message
latux



Joined: 15 Jun 2009
Posts: 3

PostPosted: Thu Jun 18, 2009 7:59 am    Post subject: Reply with quote

thanks for nothing.....
Back to top
View user's profile Send private message
robertut



Joined: 31 Aug 2007
Posts: 156

PostPosted: Thu Jun 18, 2009 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
latux



Joined: 15 Jun 2009
Posts: 3

PostPosted: Tue Jun 23, 2009 8:13 am    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jun 23, 2009 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bmn



Joined: 03 Aug 2008
Posts: 12

PostPosted: Tue Jun 23, 2009 12:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
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