Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast TV / Nullsoft Video (http://forums.winamp.com/forumdisplay.php?f=152)
-   -   Becoming a relay server? (http://forums.winamp.com/showthread.php?t=179351)

IANAUN 8th May 2004 15:27

Becoming a relay server?
 
I have a question about becoming a relay server, am I right in saying that relay server is almost like the man in the middle fowarding the NSV data from the original source to another client ?
If Im wrong could you please explain, thanks.

ken52787 8th May 2004 15:30

A relay server connects to another server and basically copys it.

Inedible Bulk 8th May 2004 17:40

Lets set it up like tv's and cameras.

I've got a TV with 20 spots in front of it, with chairs. A relay is like someone setting a camera up on a tripod on the chair, instead of a seat. This camera is connected to another tv with 10 spots in front of it.

The camera takes up one viewer spot, but creates 10 more. If the CLUSTER function of shoutcast.com was working properly for NSV, it would show that there were 30 spots on one stream, not 20 spots on one and 10 on the other.

IANAUN 8th May 2004 19:17

so what your saying is that it can be used like a prymid scheme. So say I had a bandwidth of 600k and I wanted to stream a 100 bit film 6 people could connect and in turn they could provide another six connections or so depending on their bandwidth?
But if that was the case then surely sooner or later someone would disconnect and it would fall like a pack of cards!

IANAUN 8th May 2004 19:21

Oh I see, what I mean to say is what happens if someone disconnects from the internet?

B0b 8th May 2004 19:57

You would use a reliable always on server for a relay server. It's a standalone server, not a person viewing.

Inedible Bulk 8th May 2004 20:23

Quote:

Originally posted by IANAUN
Oh I see, what I mean to say is what happens if someone disconnects from the internet?
That'll only be a problem if you have a situation like this.

code:
[Server]
|_
|
[Bob]
|_
|
[Jim]



And Bob decides to disconnect.

I'd reccomend

code:

[Server]
_| |_
| |
[Bob] [Jim]



Where bob can disconnect and jim and server are still there.

(Plus: Give bob's and jim's server's ips reserved slots so they're always connected.)

fyrewal 8th May 2004 21:44

^Bulk, I have friends who would like to listen to my shoutcast server, how do I set up reserved slots on my DNaS?

P.S. their IP's are going to be dynamic, not static, so that may be a hitch, but I could see doing 45.45.45.* so that the last subdomain is always accepted(because that is the dynamic part)

ken52787 8th May 2004 22:25

You're getting it confused with peer 2 peer streaming

relaying works like this:
code:

[server]
_| |_____
| |
[viewer] [relay server]
_| |_
| |
[viewer] [viewer]


Inedible Bulk 9th May 2004 06:04

uh ken, i said bob and jim as his friends who decided to relay for him. I meant they were servers too, but your thing is more helpful.

You can't reserve a subnet.

I think there are php scripts out there where they could login themselves and update their IP but I don't know of any.


All times are GMT. The time now is 08:29.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.