I've been searching for a solution to this problem, without success, for sometime.
I use OpenTok Video Framework to publish a video stream from the device camera to an online service. I use their publish/unpublish methods as documented.
Problem: The memory allocated by [GLVideoProcessor createFrameBuffers]
never gets deallocated, even when its parent VC is deallocated and the framework's unpublish method is called(and delegated nil'ed).
Question 1: Without being able view the framework's .m files, is there a way to force memory to be released?
Request 2: Any other advice about how to solve this problem would be greatly appreciated.
Occurs in:
Xcode 4.6 & Xcode 5
iOS6 & iOS7
Instruments: The doPublish method alloc's OTPublisher and initiates the stream.
Multiple Instances of Publish/Unpublish being called and never being deallocated.
ARM view of [GLVideoProcessor createFrameBuffers]
ARM view of [GLVideoProcessor createFrameBuffers]
+ Backtrace
my name is Song and I work at TokBox. Thank you for posting the memory problem. We have identified the cause of this bug and a fix will be coming out next week.