Search code examples
xamarinxamarin.androidlibvlcscreen-capturelibvlcsharp

Capture screen on Xamarin.android get black screen - using Libvlc


I am using LibVLCSharp to play video , and trying to capture the screen. I am getting black screen , like the surface-view cant be captured. tried many different capture methods , non of them works. api 23 android 6.

Any one have a solution/example please?


Solution

  • OK so i managed to figure it out, i managed to use the libvlc takesnapshot method. Apparently it didn't work because of a bad filename i gave, so the image wasn't saved.