How to get it working

droople - April 26, 2007 - 01:55
Project:Shoutcast Streaming Server
Version:5.x-1.x-dev
Component:Documentation
Category:support request
Priority:minor
Assigned:sanduhrs
Status:closed
Description

Using winamp and shoutcast I have been running shoutcast streams from my pc,

now how do I make users link to the shoutcast servers they create on the site? and also how many servers can I make that can run simultaneously

thanks

#1

sanduhrs - April 30, 2007 - 16:21

Using winamp and shoutcast I have been running shoutcast streams from my pc, now how do I make users link to the shoutcast servers they create on the site?

There's absolutely no difference.
Your Users need the URL your server is running on, the generated port number and the password they provided.
You discover the portnumber by hovering over the open stream link under the new node.

and also how many servers can I make that can run simultaneously

That definitley depends on what hardware you're using. Have a look at [1], that should give you an idea of how shoutcast perfoms.

[1] http://icecast.org/loadtest3.php

#2

sanduhrs - April 30, 2007 - 16:22
Status:active» closed

Using winamp and shoutcast I have been running shoutcast streams from my pc, now how do I make users link to the shoutcast servers they create on the site?

There's absolutely no difference.
Your Users need the URL your server is running on, the generated port number and the password they provided.
You discover the portnumber by hovering over the open stream link under the new node.

and also how many servers can I make that can run simultaneously

That definitley depends on what hardware you're using. Have a look at [1], that should give you an idea of how shoutcast perfoms.

[1] http://icecast.org/loadtest3.php

#3

droople - April 30, 2007 - 16:38
Priority:normal» minor

Thanks mate for that one

let's say in admin settings i choose port 8000

what do the other users choose for their own servers? Is it the same 8000?

Thanks

#4

sanduhrs - April 30, 2007 - 16:52
Status:closed» active

No, unfortunately not.
Shoutcast needs two ports for any instance started, that is by design.
So, any time you post a new node, a new shoutcast instance is started and the port number is incremented by 2.

E.G.
node/1 -> port 8000/8001
node/2 -> port 8002/8003
node/2 -> port 8004/8005
...

The port base you define in admin settings is the number we start with.
You may define reserved ports in case some ports are already used by other server daemons.

#5

droople - April 30, 2007 - 17:32
Title:How to get it working» Thanks again

So how does the system know, for example, if I give all authenticated users permission to create servers,

how will it know which ports are free after the initial 8001/8001 in the admin.

By this I mean, User 4 will choose 8006/88007

but User 5 doesn't physically see that this port has been chosen, will there be a clash of port choices here?

thanks, hope am not sounding silly

#6

sanduhrs - April 30, 2007 - 18:39

The user can't choose the port himself.
The ports are incremented automatically.

#7

droople - April 30, 2007 - 18:49
Title:Thanks again» Case closed

Cheers mate

#8

sanduhrs - April 30, 2007 - 18:53
Title:Case closed» How to get it working
Assigned to:Anonymous» sanduhrs
Status:active» closed

You're welcome.

 
 

Drupal is a registered trademark of Dries Buytaert.