Re: [Live-devel] Object Ownership in liveMedia

2013-04-29 Thread Ross Finlayson
> Do you have any guidelines or conventions regarding object ownership in the > library? In general, the entity that create an object is responsible for deleting it. There are exceptions to this, though. For example - as you noted - when you have a 'chain' of "FramedSource" objects, feeding in

[Live-devel] Object Ownership in liveMedia

2013-04-29 Thread Robert Smith
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 F