[streaming] Re: Closing connection with IP
PyPe
pype at gameflux.com
Wed Nov 3 14:40:26 CET 2004
At 10:13 03/11/2004 +0100, Rémi Denis-Courmont wrote:
>Le Mardi 2 Novembre 2004 17:23, PyPe a écrit :
> > I'd like to have the possibility of closing a client connection on
> > the server , based on its IP.
> > can i do that with the http interface ?
>
>To the best of my knowledge, that is not implemented.
>With the HTTP and RTSP streaming outputs, it could be implemented, but
>it's not now.
>
> > How can i do that ?
>
>Can't you do it with an IP firewall ?
I think it would be much easier to implement a loop into the player to
check if the client is to be disconnected.
In fact, i have a login/pass system to authenticate a user with php/mysl, i
can easily record in the database the wish to disconnect a user , and check
every 5 minutes with the vlc client in this database if the user is to be
disconnected.
But this solution is not the best to my eyes because i have to modify the
player again, and looping is not my preference.
Maybe the IP firewall is the solution, but a bit compplicated to interface
with the database.
thanx for your answer.
>--
>Rémi Denis-Courmont
>http://www.simphalempin.com/home/
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list