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/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel