I encountered the same issue. When reading an RTMP stream, a brief network interruption caused the stream to hang, and it took about 30 seconds before any frames were returned again.