[Live-devel] One stream to multiple clients

Ross Finlayson finlayson at live555.com
Wed Jun 13 11:48:18 PDT 2007


>Hello,
>
>I have a question about streaming 1 stream to multiple clients. For
>example a live camera stream, coming from a driver which delivers the
>video in a callback function(in my case). So I get this one stream from
>the camera, and 'somehow' give it to the  livemedia library. But suppose
>multiple clients want to see it at the same time, using a TCP connection
>or a non-multicast UDP 'connection'. So two clients ask e.g.
>"rtsp://ipaddress/showCam?1". So they should both see the same video. Do
>I need to worry about duplicating the stream to those 2 clients, or does
>the library take care of that?

Yes, our RTSP server implementation takes care of that, *provided 
that* you set the "reuseFirstSource" parameter to True when you 
create each "ServerMediaSubsession" object.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list