1

When take a screenshot from the exoplayer using Instabug bug reporting feature it shows blank screen although the video is working fine

screenshot example

Ahmed Ali
  • 788
  • 1
  • 8
  • 15

2 Answers2

2

Instabug doesn't support SurfaceView screenshot capturing at the time being, However, you can get the screenshot-capturing function work properly with the exoPlayer by changing the SurfaceType of the PlayerView to Texture_view instead of SurfaceView. You can do that using the following xml attribute.

app:surface_type="texture_view"

Hossam Hassan
  • 645
  • 1
  • 8
  • 21
0

This depends on many factors, one of them is the content of the video itself. Take a look at this bug https://github.com/google/ExoPlayer/issues/1033

You can also try this Android Take Screenshot of Surface View Shows Black Screen

Ch Vas
  • 929
  • 9
  • 10
  • the screenshot works fine using the phone volume and power buttons. the problem happens when done with instabug – Ahmed Ali May 22 '18 at 19:53