title: Taking a screenshot of streaming content in webView (eg Youtube video)
body: <p>I am working on an app which should save the displayed content of a webview. The problem is that when the webview displays streamed content (like a YouTube video) the screenshot returns just a black rectangle - as there is no actual image. If I take a screenshot with volume &amp; power button the screenshot does contain the actual frame of the video, which would be exactly what I need. Unfortunately this stops my app for a moment, as the screenshot creates a new overlay. I have already created two questions on SO, none of the solutions worked so far:</p>
  
  <p><a href="https://stackoverflow.com/questions/31182503/take-a-screenshot-of-a-video-in-a-webview-android">Take a screenshot of a video in a webview android</a></p>
  
  <p><a href="https://stackoverflow.com/questions/31262513/android-capture-exactly-what-the-screen-displays-video-stream-save-it-as-i">Android - capture exactly what the screen displays (video/stream) - save it as image on device</a></p>