Dear Sir:<br><br>When I try to connect AXIS IP camera several times(one to many, no regular pattern), the RTSPClient::describeURL() never retruns. After doing some source tracing, I find that it is blocked in readSocket() in RTSPClient::getResponse1(). This is because the readSocket() calls blockUntilReadable() without timeout setting.
<br><br>I also apply Wireshark to capture the protocol negotiation and verify that the RTSPClient really sends the DESCRIBE request but the RTSP server responses nothing. Since I can not step inside the AXIS RTSP server to see if it really receives the request, it is not easy to confirm the cause of the problem. Maybe the server does receive the request but cannot response for some reason or something else.
<br><br>Anyway, I suggest the RTSPClient chooses a reasonable timeout for safety before calling readSocket() in case the server misbehaves. Actually, when this condition is detected, the next time calling RTSPClient::describeURL() succeeds. It seems nobody should be blamed.
<br><br>BR.<br>Brain Lai<br><br><br>