Why RTSP TCP and RTMP Are Still Your Best Choices for Cross-City and Cross-State Camera Communication
When streaming video across large geographic distances—between cities, across states, or even internationally—protocol selection becomes critical. After extensive real-world deployments and thousands of hours of testing, we can definitively state: RTSP over TCP and RTMP remain the most reliable choices for long-distance camera communication.
This document focuses on transport protocols. For codec selection, see our companion brief: Why H.264 Is Almost Always The Answer. Together, these guides provide a complete streaming strategy.
The Venerable Champion: RTSP TCP might be old, but it's old for a reason—it works. Using TCP's reliable transport, RTSP ensures every packet arrives in order, making it ideal for high-latency, lossy networks typical of long-distance connections.
Real-World Performance: In our deployments spanning from New York to Los Angeles (2,800 miles), RTSP TCP maintains stable 1080p30 streams with only 2-3 seconds of latency. Compare this to UDP variants that often fail completely due to packet loss.
The Phoenix Protocol: RTMP was left for dead when Adobe abandoned Flash Media Server. But like a phoenix, it has risen from the ashes. Today, RTMP is experiencing unprecedented adoption, supported by every major streaming platform and CDN.
Why It Works: RTMP's resurrection is no accident. Its simple, robust design excels at long-distance streaming. The protocol's built-in buffering and reconnection mechanisms make it incredibly resilient to network interruptions common in WAN deployments.
The LAN Champion, WAN Disaster: RTSP UDP excels in local networks but fails catastrophically over long distances. Without TCP's reliability, even minimal packet loss creates unwatchable streams.
The Numbers Don't Lie: In our cross-state testing, RTSP UDP streams failed 73% of the time due to firewall issues alone. When they did connect, average packet loss of 0.5% made streams unwatchable.
The Future That Isn't Here Yet: SRT promises the best of both worlds—UDP's low latency with reliability features. In practice, it's a configuration nightmare with limited support.
Reality Check: While SRT shows promise in controlled environments, real-world deployments face constant firewall battles. IT departments, already wary of opening UDP ports, often refuse SRT deployments entirely.
All WINK Streaming appliances utilize BBR2 (Bottleneck Bandwidth and Round-trip propagation time), Google's revolutionary congestion control algorithm. This provides dramatic improvements for long-distance streaming:
Metric | Traditional TCP (CUBIC) | WINK with BBR2 | Improvement |
---|---|---|---|
Throughput (High Latency) | 12 Mbps | 47 Mbps | +292% |
Recovery Time (Packet Loss) | 8.3 seconds | 1.2 seconds | -86% |
Bandwidth Utilization | 45% | 91% | +102% |
Latency Variance | ±340ms | ±45ms | -87% |
# Automatically configured on all WINK appliances
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr2
net.ipv4.tcp_ecn = 1
net.ipv4.tcp_ecn_fallback = 1
Real-World Impact: A state DOT streaming traffic cameras from rural areas to their central command center saw stream reliability increase from 67% to 94% after deploying WINK appliances with BBR2.
Protocol | Ports Required | Firewall Complexity | IT Acceptance |
---|---|---|---|
RTSP TCP | 554/tcp | Simple (single port) | High ✓ |
RTMP | 1935/tcp | Simple (single port) | High ✓ |
RTSP UDP | 554/udp + RTP range | Complex (dynamic ports) | Low ✗ |
SRT | Custom UDP | Very Complex | Very Low ✗ |
Challenge: Stream from 500+ cameras across a state to central command
Distance: Up to 400 miles
Network: Mix of fiber, microwave, and cellular
Solution: RTSP TCP with WINK Media Routers using BBR2
Result: 99.3% uptime, 2.1 second average latency
Note: All cameras use H.264 encoding for maximum resilience on cellular connections (see our H.264 technical brief)
Challenge: Stream security cameras from 200 stores to corporate HQ
Distance: Nationwide (up to 3,000 miles)
Network: Business broadband with CGNAT
Solution: RTMP with fallback to RTSP TCP
Result: 98.7% uptime, seamless firewall traversal
Challenge: Live broadcast feeds between continents
Distance: 6,000+ miles
Network: Dedicated circuits with satellite backup
Solution: RTMP primary, RTSP TCP backup
Result: Broadcast-quality delivery with automatic failover
For long-distance camera communication across cities and states, use:
Deploy both when possible for maximum reliability and compatibility.
# Camera Configuration rtsp_transport=tcp tcp_timeout=60 keepalive_timeout=60 buffer_size=2048k # WINK Media Router reconnect_interval=5 max_reconnect_attempts=unlimited tcp_nodelay=true socket_buffer=4096k
# Stream Configuration buffer_time=8000ms chunk_size=4096 window_size=5000000 peer_bandwidth=5000000 # WINK Forge Settings rtmp_buffer=10s rtmp_live=true rtmp_tcp_nodelay=on
WebRTC with WHIP/WHEP: Showing promise but requires mature infrastructure. Currently limited by browser constraints and NAT traversal complexity.
QUIC-based Protocols: Google's QUIC may eventually replace TCP for video streaming, offering built-in encryption and better congestion control. Media over QUIC (MoQ) is in early development.
SRT Evolution: If firewall vendors embrace SRT and configuration becomes automated, it could become viable. Don't hold your breath.
Our Prediction: RTSP TCP and RTMP will remain dominant for long-distance streaming through 2030. Their simplicity, reliability, and universal support are unmatched. Sometimes, older really is better.
Use these commands to test connectivity before deployment:
# Test RTSP TCP curl -v telnet://camera-ip:554 # Test RTMP curl -v telnet://server-ip:1935 # Test SRT (if you must) nc -u -v server-ip 9000
After years of real-world deployments and millions of streaming hours, the verdict is clear: RTSP over TCP and RTMP are the optimal choices for long-distance video streaming. They may not be the newest or most exciting protocols, but they consistently deliver where it matters—reliability, compatibility, and ease of deployment.
The WINK Streaming family of appliances, optimized with BBR2 and decades of protocol expertise, ensures maximum performance regardless of distance. Whether you're streaming across town or across continents, RTSP TCP and RTMP—properly configured—will get your video there reliably.
WINK Streaming
wink.co | 1-312-281-5433