Articles & News / Engineering

Why 4G cameras keep buffering: four traps in weak-network video

2025-05-13·Engineering
Two bars of signal, a spinning loader, and latency that only grows. Most of the time it is not “4G being bad” — it is the transport strategy. Here are the four traps we see most, and what we do instead.
Weak-network video

Trap 1: sending video over TCP

TCP guarantees order and delivery, and pays for it: one lost packet blocks everything behind it (head-of-line blocking), so the whole picture freezes. Real-time video prefers “late means drop”.

We carry video over UDP, absorb loss with forward error correction, and retransmit only key frames.

Trap 2: a fixed bitrate

When bandwidth drops, a fixed bitrate fills the send queue and latency grows without bound — users experience it as “worse the longer I watch”. Bitrate must adapt to bandwidth estimates, loss and RTT.

Trap 3: a jitter buffer that never shrinks

Buffers absorb jitter, but many implementations only ever grow. We use two thresholds: widen only while jitter persists, then gradually shrink back to 20–40 ms on stable links.

Trap 4: retransmission storms

When a key frame is lost and every receiver asks at once, the uplink saturates. Our retransmissions are budgeted and droppable: FEC first, key frames only, rate-limited per window.

同一个丢包,两种传输的结局 TCP 丢包 → 等待重传 → 后续全部停住(队头阻塞) UDP+FEC 丢包 → FEC 补齐或丢弃该帧,画面继续
实时视频要的是“迟到不如丢弃”

A workable weak-network setup

StageApproach
TransportUDP + FEC, selective key-frame retransmission
Rate controlAdapt to bandwidth estimate and loss feedback
BufferAdaptive 20–40 ms, two thresholds
ReconnectFast reconnect, request a key frame immediately

How to verify

Do not test on office Wi-Fi. Use tc netem or a network emulator with 10 / 20 / 30% loss and 200–500 ms RTT, then watch P95 latency and stalls per minute over at least 30 minutes.

There is no single switch: tuning is a trade-off between latency, smoothness and clarity, decided per use case.
Struggling with weak networks?

Tell us the network, bitrate and symptoms — we can help isolate transport, rate control or buffering.

Talk to us →
Product News
 Contact
Business QR Code
Copyright 2013-2025 © Foshan Goockr Technology Co., Ltd.
Legal Counsel: Guangdong Guangfa Law Firm