Page 1 of 1

Limit number of opened connections

Posted: 22 Nov 2008 20:40
by yS_
I'm trying to stream a radio program using VLC. Everything seems to be fine, but I can't limit the connections and that leads to bandwidth problems... Is there any way to limit the number of currently opened connections? So if I can only handle 11 connections, when the #12 tries to connect he gets HTTP 503 unavailable or something else.

If VLC has no option to do so, is there any other program that can limit the number of connections by some given port at OS level that works fine under linux and/or windows?

Thank you!

Re: Limit number of opened connections

Posted: 24 Nov 2008 22:18
by RĂ©mi Denis-Courmont
Not implemented with HTTP.

Re: Limit number of opened connections

Posted: 11 Dec 2008 16:09
by pez
i don't know if it suits your needs, but you can use Darwin Streaming Server ( http://dss.macosforge.org/ ) along with VLC:

media-->vlc-->darwin-->inet

DSS can limit the number of connections, but works on RTSP (port 554), you can stream through port 80, but still not in http AFAIK

also you can use ICECAST: http://www.icecast.org , it can also limit the number of connections, and the latest VLC's versions have all the parameters to interact with icecast in the GUI.

media-->vlc-->icecast-->inet

hope it helps

regards