[Live-devel] One stream to multiple clients

Ross Finlayson finlayson at live555.com
Thu Jun 14 09:08:31 PDT 2007


>To implement your own RTSP server, subclass RTSPServer

No, in most cases you don't need to write your own subclass; the 
existing "RTSPServer" class will work just fine.  This is especially 
true if the set of accessible streams is fixed, and known in advance. 
(See, for example, the code for "testOnDemandRTSPServer".)  However, 
to repeat the answer to the original question, if you want the 
contents of a stream to be duplicated to each concurrent client, then 
make sure 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