[Live-devel] (no subject)
Ross Finlayson
finlayson at live555.com
Thu Jan 28 07:05:19 PST 2010
>However, could I do the following to stream live video?It maybe
> familiar to multicast.
>
> The server is following the "test***streamer" example.A
>client connects to the server.When
> the server receives the "PLAY" command,it adds the client's IP to
>a list or array, every time a
> packet is sent, it will be sent to all the IP in the list.And when
>one client tears down,the server
> removes its IP from the list.So that the next packet won't be sent
>to the client.
No, your code doesn't need to do *anything* with IP addresses. Our
code *already* implements this (in the "RTSPServer" and
"OnDemandServerMediaSubsession" classes). Look, for example, at the
code for "testOnDemandRTSPServer" (or "live555MediaServer"). It
*already* implements a unicast RTSP server, with the ability to
support multiple clients concurrently.
(This will be my last posting on this topic.)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list