[Live-devel] calling a function each time a new user joins a multicast stream?

Ross Finlayson finlayson at live555.com
Mon Jun 18 14:27:39 PDT 2007


>I'm adding some code to insert an IVOP in a live MPEG4 stream each
>time a new user joins the stream. In the unicast case I just redefined
>startStream in my  OnDemandServerMediaSubsession subclass and sent a
>message to the encoder to insert an IVOP. This works great. However,
>the OnDemandServerMediaSubsession class is not used in the multicast
>case.  I'm not sure where is the right place to insert my code. Should
>I just subclass PassiveServerMediaSubsession and redefine startStream

Yes.  "PassiveServerMediaSubsession" is used when streaming a 
multicast stream using RTSP.
-- 

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


More information about the live-devel mailing list