Troubleshooting Guide

Camera Keeps Disconnecting — Fix Unstable RTSP Streams

RTSP stream connecting fine but then dropping after seconds or minutes? This is different from an initial connection failure. Work through this checklist to find whether the culprit is the camera, network, or router.

Top Cause
RTSP ALG
2nd Cause
DHCP IP Change
Best Fix
Static IP + PoE
NAT Timeout
1800s+

Most Common Causes of RTSP Disconnections

Disconnections after a successful connection are distinct from initial connection failures. They typically originate from one of three sources:

Network Instability

Wi-Fi packet loss or signal fluctuations interrupt the TCP stream. Even brief packet loss causes RTSP to drop and reconnect.

Camera Resource Limit

Camera CPU or memory overload (high bitrate, too many concurrent streams) causes the encoder to crash and restart.

Router Session Timeout

Router terminates RTSP sessions it considers idle — especially common with the RTSP ALG feature enabled.

Fix Checklist — 6 Steps

1

Assign a static IP address to your camera

When a camera has a DHCP-assigned IP address, the router may issue a different IP after the lease expires or after a reboot. This makes the RTSP URL (which contains the IP) invalid, causing a disconnection. Fix this by either:

  • Setting a DHCP reservation in your router (recommended) — the camera keeps using DHCP but always gets the same IP
  • Setting a static IP directly in the camera's web UI under Network Settings
2

Check camera Wi-Fi signal quality

Even brief drops in Wi-Fi signal quality cause RTSP TCP connections to break. Check your camera's Wi-Fi signal indicator — most cameras show signal strength in their web UI under Network Status. If signal is below 60%, consider adding a Wi-Fi access point, a Powerline adapter, or switching to a PoE Ethernet connection. PoE cameras have near-zero disconnection issues compared to Wi-Fi cameras.

3

Disable RTSP ALG in router settings

Many consumer routers include an RTSP ALG (Application Layer Gateway) or "RTSP helper" feature that was designed to help with NAT traversal. In practice, it often interferes with RTSP streams and causes sessions to be dropped after 30–120 seconds. Disable it in your router's advanced settings.

Look for: Advanced → ALG Settings → RTSP
Also check: Firewall → Application Layer Gateway
On some routers: NAT → RTSP Pass-Through — disable this
4

Reduce camera stream load

If the camera's CPU is under heavy load — due to a high-bitrate main stream, H.265 encoding, or multiple concurrent connections — the encoder may crash and restart, dropping the stream. Switch to the camera's sub-stream in SmartRTSP and reduce the main stream bitrate in the camera web UI to 2–4 Mbps.

5

Check for camera firmware updates

RTSP stream stability bugs are commonly fixed in firmware updates. Log into the camera web UI and check for a firmware update under System → Firmware → Check for Update. After updating, test whether the disconnections persist. Note: on some cameras, auto-update can also introduce instability — if disconnections started after a recent update, check the manufacturer's release notes.

6

Restart the camera

After extended uptime, some cameras develop memory leaks in their streaming software, causing gradual instability and eventually disconnections. Unplug the camera's power for 30 seconds, then plug it back in. This fully resets the camera's memory and stream encoder state. If the camera has a restart option in its web UI, use that — it is equivalent and faster.

PoE vs Wi-Fi for RTSP Stability

Connection stability is the single biggest advantage of PoE (Power over Ethernet) cameras over Wi-Fi cameras for RTSP streaming:

PoE Ethernet
  • Near-zero packet loss under normal conditions
  • Consistent throughput — not affected by Wi-Fi interference
  • Power and data over a single cable
  • Recommended for any fixed outdoor or critical indoor installation
Wi-Fi
  • ~ Signal varies with distance and obstacles
  • ~ Interference from neighboring networks
  • ~ Throughput drops during channel congestion
  • ~ Acceptable for low-bitrate sub-stream viewing only

Router Settings That Affect RTSP

Setting Recommended Effect on RTSP
RTSP ALG / RTSP Helper Disable Causes sessions to drop after 30–120 seconds
NAT Session Timeout 1800+ seconds Low values expire RTSP sessions before reconnect
QoS / Traffic Priority Prioritize camera IP Prevents camera traffic from being deprioritized on busy networks
AP / Client Isolation Disable Blocks devices on the same Wi-Fi from communicating
DHCP Lease Time Use DHCP reservation IP change on lease renewal breaks RTSP URL

Checking Camera Concurrent Stream Limits

Most IP cameras support only 1–3 simultaneous RTSP connections to the same stream. If another app, NVR, or device is already connected to the camera, adding SmartRTSP may push it over the limit — causing either a refused connection or a forced drop of an existing one.

  • Check your camera's spec sheet for "Max simultaneous streams" or "Max connections"
  • Disconnect any NVR or other viewer apps before testing
  • Using a sub-stream URL sometimes has a separate connection limit from the main stream

Frequently Asked Questions

Camera disconnects after exactly 60 seconds — what is causing that?
A consistent 60-second disconnect is almost always the router's NAT or RTSP ALG timeout. The router treats the RTSP session as idle and terminates it. The fix is to disable the RTSP ALG feature in your router's advanced settings (sometimes labeled "RTSP Pass-Through" or "RTSP Helper"). Also increase the NAT connection timeout to 1800 seconds or higher.
Works fine on Ethernet but drops on Wi-Fi — what should I do?
This isolates the problem to Wi-Fi signal quality — the camera and app are both fine. Move the camera closer to the router, add a Wi-Fi access point nearer to the camera, or switch the camera to a PoE Ethernet connection. Also try switching your router to a less congested Wi-Fi channel (use a Wi-Fi analyzer app to find which channels have less interference).
Multiple cameras disconnect at the same time — what does that indicate?
Simultaneous disconnections across multiple cameras point to a network-level issue, not an individual camera problem. Check your router's event log for errors. Verify the router is not rebooting or restarting its Wi-Fi radio. On busy networks, check whether a large file download is saturating the available bandwidth. A router restart often resolves transient state issues.
Camera worked before but now keeps disconnecting — what changed?
Check if a camera firmware update was applied — auto-updates sometimes introduce instability. Check the manufacturer's release notes for your firmware version. Also check if the camera's IP address has changed due to DHCP renewal (assign a static IP to prevent this). If the camera has been running for weeks without a reboot, a firmware memory leak may be the cause — power cycle the camera and monitor whether stability improves.