I want to display animated overlays on streaming. I am using set of jpg/png images for animation effect. On each frame i change overlay image by using
mainImage.addOverlayImage(OverlayImg,0,0);
But this function add new image and previous image still there in memory, so memory usage reaches 100%. Is there any other way to do this.
Thanks