I am using libVLC in my app to show a RTSP stream. This all works but eventually hours or days later the video image on the screen will freeze. I have done a check and at the time the video is froze the app is still receiving the RTSP stream. I can tell because the network traffic is still happening. I also did a check of VLC_IsPlaying and it is true so libVLC thinks it is still playing. I also did a VLC_GetStats() and see f_demux_bitrate is showing data is coming in and i_decoded_video is still incrementing so video is still being decoded.
So my questions.
1. Any idea why it is freezing?
2. Any suggestions on some status or flag I could check to detect when it is froze. If I can detect the issue then I can just stop and restart the player.
I am using version 2.2.4 on windows.
Thanks
Tom