hii,
can anybody help me.
I have deployed vlc for ios in my app,now i required that when video/streaming is playing i have to capture that image and save it.
But i am failing to do that. pls someone help me.
i have send my code snapshot that i am using
UIGraphicsBeginImageContext([VDLPlaybackViewController vdlPlaybackShared_Instance].movieView.bounds.size);
[[VDLPlaybackViewController vdlPlaybackShared_Instance].movieView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[UIImagePNGRepresentation(image) writeToFile:@"/Users/arun/Desktop/drwing.png" atomically:YES];
thanks in advance.