I want to use everyplay to record video from a GLKViewController. Well I have no such problem in recording but my app crashes during repeated navigation. What I am doing is, I load a view controller on which there is a view (GLKView) of GLKViewController added as subview for which Everyplay is setup to record. When I pop out the view controller in use and try to load the same view controller again, content on the GLKView becomes black and crashes my app.
The error given after crash is:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[AVAssetWriterInput initWithMediaType:outputSettings:sourceFormatHint:] AVVideoSettings dictionary must specify a positive width'
So I guess I need to remove the EveryPlay or EveryPlayCapture instance so that I can create it again?
Is is possible to remove them? or is there any other method by which I can solve this problem?