I am using libVLC in an android application to stream RTSP. Since the video is uploaded via SurfaceView to libVLC, we cannot immediately take a picture.
So, how to support snapshot functions using LibVLC for Android?
One solution would be to upload a video via TextureView . We can use the getBitmap function to take a snapshot of the currently playing video using the getBitmap () function. How to add texture support to libVLC?
I went through the VLC source code. I found this snapshot.c file. Can I use this to enable snapshot features in Android?
source share