Auto-reconnection
Auto-Reconnection
Description
Auto-Reconnection of an URL
1) If the IP camera auto-reconnection is enabled (default setting):
- when the connection is lost, the OnDeviceReconnecting event occurs and the RTSP filter tries to reconnect to the IP camera
- when the camera is connected again, the OnDeviceReconnected event occurs
2) If the IP camera autoreconnection is disabled:
- when the connection is lost, the OnDeviceLost event occurs and TVideoGrabber stops.
To disable the auto-reconnection, add:
>autoreconnect=0
at the end of the URL, e.g.:
VideoGrabber.IPCameraURL = "rtsp://192.168.5.1/live.sdp>autoreconnect=0"