Soft2Soft Security Practical knowledge base
Диагностика IP-камер

Why an IP Camera Loses Its Video Stream Through a PoE Switch and How to Find the Cause

24 views
IP-камеры PoE RTSP

How Video Stream Loss Appears

A problem involving a PoE switch does not always look like a complete camera shutdown. Sometimes the device continues to respond to ping requests while the RTSP stream freezes. In other cases, the camera periodically reboots, disappears from the recorder for several seconds, or works reliably during the day but starts disconnecting at night after the infrared illumination turns on.

It is useful to investigate the cause in three areas: power, the physical link, and the network. These areas can affect one another. For example, a damaged cable can simultaneously increase voltage drop and the number of Ethernet errors, while an overloaded switch may drop packets without disabling PoE.

Main Causes of Stream Interruptions

Insufficient PoE Power

A PoE switch has both a per-port power limit and a total power budget. Even when every port formally supports the required standard, the combined power may still be insufficient for all cameras.

A camera’s power consumption changes during operation. At night, infrared LEDs, a housing heater, illumination, or a pan-and-tilt motor may turn on. At that point, power consumption increases, voltage drops, the camera reboots, and the video stream disappears.

  • Compare the camera’s maximum power consumption with the PoE port’s power capacity.
  • Check the switch’s total PoE budget.
  • Review the event log: managed models may record overloads, port shutdowns, or limit violations.
  • Temporarily disconnect some cameras and check whether the problem disappears.

Pay particular attention to the system after adding new cameras. The switch may continue supplying power while periodically disabling the most recently connected port or a high-consumption device.

Do not connect a camera that uses passive PoE to an IEEE 802.3af/at port without verifying compatibility. Passive power is supplied without negotiation and may damage equipment if the voltage is incorrect.

Bad Cable or Incorrect Termination

A camera may work with a short patch cable but lose its stream after installation at the site. The cause may be a long cable run, poor-quality copper, copper-clad aluminum, damaged conductors, a bad connector contact, or incorrect pinout.

PoE and Ethernet use the twisted pairs at the same time. If one conductor has increased resistance, power may still be delivered, but the camera may begin rebooting under load. If the pair geometry is disturbed or too much of the pair is untwisted near the connector, transmission errors will increase.

  • Inspect RJ-45 connectors for oxidation, moisture, and loose retention.
  • Test the cable with a cable tester rather than relying only on a link indicator.
  • Eliminate splices, adapters, junction boxes, and inexpensive couplers.
  • Connect the camera directly to the switch with a known-good short cable.
  • Re-terminate both ends using the same wiring standard, such as T568B.

A basic tester shows conductor order but does not measure link quality under load. Therefore, a successful pinout test does not rule out increased resistance, an unstable contact, or interference.

Exceeding the Allowed Cable Length

For standard Ethernet over twisted pair, the usual reference is a channel length of up to 100 meters, including patch cords. In practice, poor cable quality, intermediate connections, high temperatures, and a high-power camera reduce the available margin.

If the camera is installed far away, do not try to solve the problem only by forcing a lower link speed. Extended-range modes available on some PoE switches may limit the port to 10 Mbps. That may be insufficient for multiple high-resolution or high-frame-rate streams.

Moisture and Electrical Interference

Outdoor connections often fail after rain, frost, or temperature changes. Water enters the connector, causes corrosion, and changes contact resistance. The stream begins dropping randomly, and eventually the camera stops starting.

Running the cable in parallel with power lines, motors, variable-frequency drives, or high-power lighting increases the risk of interference. Cable shielding helps only when the system is properly designed and grounded. An incorrectly connected shield can create additional problems.

Network Port Errors and Overload

Even with sufficient power, a camera may lose video because of Ethernet errors. On a managed switch, check the counters for CRC errors, dropped packets, input errors, link flaps, and negotiated port speed. Increasing CRC errors usually indicate a problem with the physical cable, connectors, or interference.

A 100 Mbps connection is often sufficient for a single camera, but the aggregation port between the PoE switch and the recorder may be overloaded by the combined traffic. For example, several cameras may send the main stream, secondary stream, audio, and management data through a single uplink.

Symptom Likely Cause Initial Check
The camera reboots at night Insufficient power after infrared illumination turns on Disable the illumination or power the camera separately
CRC errors increase Cable, connector, or interference Replace the installed link with a known-good short patch cable
Ping works, but RTSP freezes Packet loss, uplink overload, or recorder problem Open the stream directly and check port utilization
The port repeatedly goes up and down Bad contact, power issue, or faulty port Move the camera to another port and replace the cable
Several cameras disappear at once Switch overload, uplink overload, or a shared power supply problem Check logs and total load

IP Address Conflict

Two cameras with the same IP address may alternately respond to the recorder. The video stream will open unreliably, the MAC address in the ARP table will keep changing, and the web interface may show one camera and then the other.

Check the camera address, subnet mask, gateway, and DHCP settings. For permanent devices, it is better to use DHCP reservations or a documented range of static addresses.

On Linux, you can view the current ARP table with:

ip neigh show

On Windows, use:

arp -a

If one IP address is periodically associated with different MAC addresses, locate the second device and assign it a different address.

VLAN, STP, and Network Loop Problems

Cameras may be located in a separate VLAN while the recorder is on another network. Incorrect tagged and untagged port settings, the wrong PVID, or a missing route can cause intermittent or complete loss of connectivity.

A network loop creates a broadcast storm, overloads the switch, and makes video streams unstable. Managed devices usually allow you to see a sharp increase in broadcast traffic and STP events. On an unmanaged switch, the loop must be located by disconnecting network segments.

  • Make sure the camera port is assigned to the correct VLAN.
  • Check the VLAN configuration of the uplink port to the recorder or router.
  • Make sure two switch ports are not connected by an unnecessary cable.
  • Check whether multiple network interfaces of the recorder are connected to the same segment without proper configuration.

Multicast and IGMP

Some video surveillance systems use multicast. Without properly configured IGMP Snooping, multicast traffic may be forwarded to every port, creating unnecessary load. With an incorrectly configured IGMP Querier, the stream may instead disappear periodically.

For diagnostics, temporarily switch the camera or client to unicast if the equipment supports it. If the problem disappears, check the IGMP settings on the switches and router.

Excessive Bitrate or Recorder Failure

Video loss is not always related to the PoE switch. The recorder may be unable to handle the total incoming bitrate, the number of channels, decoding, or disk recording. A specific camera RTSP profile may also be faulty.

Open the stream directly from a computer on the same network. You can use VLC or another RTSP-capable client for testing. If the direct stream is stable but drops on the recorder, review the recorder’s limits and logs.

Temporarily reduce the bitrate, frame rate, and resolution. If stability returns, check the uplink port capacity and the recorder’s supported incoming bandwidth.

Step-by-Step Diagnostics

Step 1. Determine the Failure Pattern

  1. Determine whether one camera disappears or several cameras fail at the same time.
  2. Record when interruptions occur and whether they coincide with the illumination turning on.
  3. Check the camera uptime in the web interface to determine whether it is rebooting.
  4. Check the PoE and Ethernet port status indicators.

Step 2. Separate Power Problems from Network Problems

Connect the camera near the switch using a known-good short cable. If the problem disappears, inspect the permanent cable run. If it remains, move the camera to another PoE port.

If the camera model supports a separate power input, temporarily power it with a compatible power supply while continuing to carry data over Ethernet. Stable operation with external power indicates a problem with the PoE port, the available power budget, or voltage drop in the cable.

Step 3. Check Reachability and Packet Loss

Run a continuous ping from a computer on the same network. On Windows:

ping -t 192.168.1.50

On Linux:

ping 192.168.1.50

Individual ping replies do not prove that the video stream is stable, but they help identify reboots, packet loss, and latency changes. If the camera stops responding at the same time the port indicator goes out, the problem is likely at the physical layer or in the power supply.

Step 4. Review Switch Statistics

On a managed PoE switch, check the following for the affected port:

  • power consumption and PoE class;
  • negotiated speed and duplex;
  • CRC errors, input errors, drops, and the number of link reconnections;
  • inbound and outbound traffic utilization;
  • PoE overload and shutdown events.

Reset the counters when the test begins and monitor how they change. Old accumulated errors without a time reference can be misleading.

Step 5. Replace One Component at a Time

Do not replace the camera, cable, and switch at the same time. Otherwise, you will not be able to identify the actual cause. Use a sequential substitution process:

  1. another port on the same switch;
  2. a known-good short cable;
  3. a separate compatible power supply;
  4. another PoE switch or injector;
  5. another camera on the original cable run.

Record the results. A simple test table will lead to the cause faster than repeatedly rebooting the equipment.

What to Fix After Diagnostics

If the PoE budget is insufficient, install a switch with adequate power reserve or distribute the cameras across several devices. If the cable run is bad, replace the entire cable: repairing several damaged sections creates new points of failure.

If the uplink is overloaded, use a Gigabit connection, remove unnecessary streams, or distribute the cameras across multiple aggregation links. If there is an address conflict, implement a consistent IP addressing plan. Fix VLAN and multicast errors according to the network design rather than by trying random settings.

After eliminating the cause, monitor the system for at least one complete day-night cycle. A camera that works reliably during the day may disconnect again when infrared illumination or heating turns on.

Final Checklist

  • The camera’s maximum power consumption and the total PoE budget have been checked.
  • The camera has been tested with a known-good short cable.
  • The permanent cable run has been tested under load and re-terminated if necessary.
  • The port does not show increasing CRC errors, drops, or repeated link reconnections.
  • IP address conflicts and DHCP errors have been ruled out.
  • VLANs, the uplink, STP, and the absence of network loops have been verified.
  • The direct RTSP stream has been tested separately from the recorder.
  • The total bitrate and aggregation port utilization have been evaluated.
  • The system has been tested during the day and after night mode activates.