Hi everybody,
I have this problem, I am using opencv 2.4.10 to read a rtsp stream.
I used the VideoCapture end everything is going fine.
The problem is that I need to handle connection lost and failure during the opening of the connection.
At the moment I have two similar problem:
1) When I am trying to open the stream ( cv::VideoCapture inputVideo("rtsp://..."); ) and the streaming server is not available the program stay blocked forever without any error message.
2) If during the reading of the stream the connection is lost the program stay blocked forever without any error message.
There is a way to handle this problem?
Cheers,
Yari