[streaming] Re: Multicast question
Stefan Seyfried
seife at gmane0305.slipkontur.de
Tue Oct 21 09:41:41 CEST 2003
"Politi Roberto" <roberto.politi at csp.it> writes:
> Is it possible to prevent VLC or VLS to send data out of the network =
> interface it there is nobody listening (no join to the multicast address)?
Hi,
another solution could be to use something like my "v4l-VOD suite" i
posted a few days back, probably you have to add some sort of "client
counting", where you do some locking and counting of the clients that
are "attached" to your server. If the last client exits, you stop the
stream. Another solution is a "keep-alive-ping"-scheme, where every
client sends a keepalive message every few seconds. If the server doesnt
receive a ping for a given amount of time, he terminates the streamer.
This is all easy to implement as a type of wrapper application, no need
to change vls.
Good luck
Stefan
> ------=_NextPart_000_028B_01C39701.A9BF8BD0
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
not a good idea
--
Stefan Seyfried, seife at gmane0305.slipkontur.de
+----------------------------------------------+
"If you want to travel around the world and be invited to speak at a lot of
different places, just write a Unix operating system." -- [Linus Torvalds]
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the streaming
mailing list