Hello guys,
I'm trying to repeat a video in a loop but even if I thought it would have been an easy task, I've found out I'm not able to do it.
I'm using libvlc for Android and I'm playing a video over the network. I simply instantiate a LibVLC object and then I create a MediaPlayer, set a Media to it and play.
When I get event EndReached, I try to set the position of the MediaPlayer to 0 but the video is not played back.
I've also try to see options like "--repeat", "--loop", "-L", "--global-key-loop=Loop" without any success.
The only working thing is to set the position to 0 at about 95% of the video length: it's working but the visual effect is not good, because the video is made to start and end with the same frame, so if I skip some of them it's a little bit "nervous" the transaction.
Thanks in advance for your help!