[Live-devel] Media Subsessions

Ross Finlayson finlayson at live555.com
Thu Aug 17 13:14:40 PDT 2006


>What is the difference between PassiveServerMediaSubsession and
>OnDemandServerMediaSubsession?

Short answer: Use "PassiveServerMediaSubsession" for streaming via 
multicast.  Use "OnDemandServerMediaSubsession" for streaming via 
unicast.

Slightly longer answer: Use "PassiveServerMediaSubsession" if you 
want to stream to an existing, already-set-up destination (i.e., 
"RTPSink"), using the same destination each time a client connects. 
Use "OnDemandServerMediaSubsession" if you want to stream to a new 
destination ("RTPSink") that is created for each new client.
-- 

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


More information about the live-devel mailing list