[Live-devel] Object Ownership in liveMedia

Robert Smith smith at cognitec.com
Mon Apr 29 04:05:43 PDT 2013


Hi Ross,

Do you have any guidelines or conventions regarding object ownership in 
the library?

For instance, when I create a PassiveServerMediaSubsession with an 
RTCPInstance*, I need to manually delete the RTCPInstance object myself. 
But when I create an H264VideoStreamFramer object with a FramedSource*, 
the Framer object cleans up the FramesSource object in it's destructor.

Regards,

Robert Smith


More information about the live-devel mailing list