RTSP video is freezing in hours to days. How to detect?

This forum is about all development around libVLC.
tom.abcd
New Cone
New Cone
Posts: 7
Joined: 09 Aug 2016 22:18
Operating System: Windows

RTSP video is freezing in hours to days. How to detect?

Postby tom.abcd » 27 Sep 2016 19:28

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTSP video is freezing in hours to days. How to detect?

Postby Jean-Baptiste Kempf » 28 Sep 2016 23:22

Can you show the logs when it freezes?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests