How can I display an error message when the RTSP connection cannot be connected or is disconnected, and remove the error message if the connection is successful reconnects and continues streaming
I tried to create code to display an error message like this:
How can I display an error message when the RTSP connection cannot be connected or is disconnected, and remove the error message if the connection is successful reconnects and continues streaming
I tried to create code to display an error message like this:
but I can't remove the #error when rtsp reconnect, because there is no function to know whether the stream reconnected successfully or not