'Take Screenshot of publisher view in opentok video streaminglibrary

I am using Opentok library for video streaming.

I want to take screenshot of publisher video streaming and save to gallery.

When I take screenshot of that view programmatically and save to gallery it will display blank image.

If anyone has any solution please update me.

Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source