[Live-devel] Looping a source

Daniel Graupner Daniel at smartCast.org
Mon Oct 2 03:14:39 PDT 2006


Am Montag 02 Oktober 2006 04:46 schrieb Ross Finlayson:
> No, what you are doing is correct.  I don't know what would be
> causing the memory leak; I don't think it is an inherent problem with
> the library.  Did you write any new source and/or sink code yourself?
> If so, then could the leak be occurring there?

My first rule is to NOT modify live555 libs ;-).

However, I found out that I create a new sink object after each play cycle. 
This may cause the leak. Now I call Media::close(soource), create the source 
again and call sink->startPlaying in afterPlay callback and everything is 
fine.

Regards,
Daniel.



More information about the live-devel mailing list