TCP vs UDP for Video Surveillance

Author: Ethan Ace, Published on Mar 11, 2015

TCP or UDP?

What should you use for video surveillance?

TCP and UDP are both in use in the video industry today, each with strengths and weaknesses when it comes to live viewing, playback, error correction, artifacting, and more, though many users do not know the difference between the two or how choose one or the other.

In this report, we share our test findings of the tradeoffs on video quality, latency, camera and VMS compatibility.

*** ** ***?

**** ****** *** *** *** ***** ************?

*** *** *** *** **** ** *** ** *** ***** industry *****, **** **** ********* *** ********** **** ** ***** to **** *******, ********, ***** **********, ***********, *** ****, ****** many ***** ** *** **** *** ********** ******* *** *** or *** ****** *** ** *** *****.

** **** ******, ** ***** *** **** ******** ** *** tradeoffs ** ***** *******, *******, ****** *** *** *************.

[***************]

Key ******** ** ****

**** ** * ***** *******:

  • *** ***** ** **** ****** **** ********* ** ************ *** video ****** *****.
  • *** ***** ** ***** ***** **** ********* ** ************ *** video ****** *****.
  • ******* ******* *********** ******* *** *** ***.
  • ********* *** ******** *** **** ***** ********* **** ********* ********.
  • **** ******* ***** ** ** ******** **** ***.
  • ******** ***** ***** ** **** ***** ****** **** ***.
  • **** ** ******* ******* **** *** *** *** *** ********* ** ** *** **** ************ (**** *** ** *** API).
  • ***** **** ************* ** **** ************* ** ******* **** ******* for *** ** *** (******* ** ********, *****, ******* *** Milestone ******).

Impact ** ***** *******

** *** ******** *****, ** **** *** ********** ** ***** quality ***** *** **. *** **** * ********* *** **/* connection. ****: *** * ***** ****** ** *** *********** ******* these *** *********,*** *** ******** *****.

**** ***** ***, ****** *** ****** ******, *** *******. ********** ** present, **** *** ******* ******* **** *** ***** ** *** scene ** *******.

*******, ** *** **** ***** ***** ***, ** *** *** substantial breakup *** ********* ** **** ** **** ** ***** ***** frames **** ******* *** ** ***** *** ********.

** ****** ***** *** ***** ** ****** ** **** *****. Users *** ************ ***** ******* (** ** .*** ****).

**** ***** ** ** ******* *******, **** ***** ********* *** ****** loss ********* *** ************* ********. *******, **** ***** ******* ** ****** loss *** *********** ********* *** **** *********** ****** ** ***** quality.

Impact ** *******

** ****** ******* ***** **** *** *** *** ** ******** cameras *** ***** ****** ********** ******* *** *** ** * dedicated *******. ******* ******** ***-***** *** ******, ********** ** ********. UDP's ************** ******, **** ** ***** **********, *** *********** ***** overhead *** ****** ****** ** * ****** *******.

*******, ** ********* (**** ** ****** ******** **** ***** ******* of *******) ** ******* (**** ** ***** ***** *****-*** ******** links, *.*. **** ************), *** *** ******* ***** ******* *********.

Use ** ************

** ** *****, *** *** *** *** ******* **** ********* in ********* ************ ********, ** ***** ********** *** *** ********** overhead *** **** ****** ** **** **** ****.

*******, ** *********-********** ************ **** ** ****** ******* ** ******* connected *** *** ********, *** *** *** **** ****** ********** and *************:

**** *******: *** ********* *** ******** *******

** **** ******* ************, ** ** **** ********* **** ********* receive ****** ************ ** ******, ****** ***'* ***** ******** **** useful. ******* ******** *** ***** ******* ******, *** ****** ********* span **** **** * ******* ** ******, ******** *** ******** to ********* **** *** ******* ********** ** ******* *****. 

*******, ** **** ********* *** ** ** ******** *** ******* time ******* *** ***** *** ********* *** ** ********* (**** as *******), *** ****** ******** ** *** (**** ** ******** above) *** ** ********* ** ***, ** **** ****** ****** *** frames *** ****.

*********: *** ********* ** ****** ******

**** ********* * ****** *** * *** ********* **********, **** as ***** ** ***, *** ** *********. **** ***** ** ensure **** *** ****** ** ***** *** ******** *** ******** in *****.

** *** ** **** *** *********, **** ********* *** ****** the **** ** **** ***** *** ** **** *******. ** the *** ******* **** *****, ** *** ******* ** **** the ******'* **** ******* *** **** ** *** ****, * process ********* ********* *** ***, ****** ***** *********.

VMS/Camera ***************

*********, ** ******* ******* **** *** *** *** *********, *** rarely ******* * ****** ********* *** ********* ******* *** ***. Instead, *** *** ********** ***** ******** ****** ** ****, ** **** cases *************, *** ** ****** *** ****** *********.

**** ** ******* ***/*** ******* ** ****** *****:

******** ******* ******

******** ****** ** ****** ******* ** ******** *********. *** ** used ** ******* *** **** *****, **** **** ****** ** recorder *** ******** ** ****** ******.

***********

***** ****** ** ****** ******* ** ******** ********* ** **** cases. *** ** *** ** *** ** ********** ** *** camera's *******, ***** ** ************ ***************. *******, ** ***** *** RTSP ******* ******** *** ** ******** ******** ** ********* "#*********=*" to *** ** ******* **** ****** *** ******, ***** * is *** ** ***, **** ** **** *******:

******* ******** ******

******* ****** ****** ************* ** ********. ** *******, ******* *** set ** "****", ***** ******** ** *** ********* ***, **** unicast ***, **** ***, ** *******, ** ***** ** ********. If ********* ** ***********, ******* *** ** ****. ** *** is ********** ***********, *** ** ****. **** ** ***** ** each ******'* ***** ****** *****:

********* ********

** *******, ********* ******** ******** ** ******* ***** ***. *** is ********* ** **** ******* (*** *** ******** **** ***** below), *** *** *** ******* ******* **. **** ****** ** not ***** ** ** ** ********. *********** **** ****** ** client *** *** *** ****.

TCP *** ***

************ ******* ******** (***) *** **** ******** ******** (***) *** *** *** **** ****** **** ******* *********. **** ***** down **** **** ****** *** ******* *** ************ *** ********, but **** *** *** *********** **** **** **** **** ** less ******** *** ******** ********: 

**********-******** **. **************

*** ******** * ********** ** *** ** ******* *** *** communicating *******, ********* *** * ********* *******, ****** **** *** be ****. **** ************ ******, **** *** ** ******* ** ********* as ******** ****** *** **** *** ** ****, ********** ** ensure *** ******* ******, *** ** *** ****** *****.

** ********, *** **** *** ******* * ********** ** ******* prior ** ************. ******* *** ****** **** ** *** ********* without ********** ***** *********. ******* ** ****, ****** **** *** ****** are **** ****** ** ***.

***** ********

**** ***** ***, *************** *** **** ** *** ********* ****** ***** every ************, ******** *** **** *** ********, *** ** *** proper *****. ******* ***** **** *** ******** ******** *** *************, until *** **** ** ******** ****.

******* *** ** **************, ** ***** ******** ** ********** ** performed. *** ****** **** *** **** ** ***** ** *** if *** ********* *** ******** *** ******* ** *** ***, it ****** ********* ******* *** **** ***. ******* *** ****** out ** ***** ** *** ** ***, ******* ******, *** no ************ ** ***** ** *** ******* ****** ** ****** lost *******.

**** **** *********.

***** **** ** **** * * ******** ****

Comments (16)

*** **** **** *** *** ********?

** ******* *** ******* *** ***-****. ** ****** **** **** aren't ****** ***** ** **** * ********** ******, ****** ***'** doing **** **** ** *** ******** (**: ***** ** ******** to *****) *** **** **** **'* ******* *** * ***** order *************.

* ****** **** (***) ***** **** **** ** **** ** a ******* ** **% ******** *** **** *** ******* ** TCP *** *** ** ** ********* *** ********** ******** ** TCP *** *********** *** **** ******* ** ***** **** ****** that ******* ** ******* * *********** ****** (**: *** ********** of * **** ***** *******).

*****, **** *** * ***** ******* ** *** ***** *********** between *** *** ********* ******* *** *** *****-****.

** *** **** * **** **** ********* ***** *** ** TCP ***** *****, ** **** *** ********* ******.

*** *******, ** * *** ********* *.*** ******* *** ***** a *** ********* * *** *** *********** ** ***** ** the ******* ***** (****** ****, *****, ***). ******* **** ******** to * *** **********, *** *********** *** ** **** ********** (due ** ******* ***** ************* ** **** ** *******).

*******, ***** ** ** ***** ** ***** *** ** ** it. ****** *** ***** ******** *** **** *********** (** **'* even **********). ** *** *********** ** *** *** *** ******* and **** **** **** *********.

***** ** **** ********, * ***** ***** **** (******** ******* bandwidth *** ****** ******** *** *** ** *****), *****-********* *** otherwise ********* *******, *** *** **** **** *** *** *** one *** ********* *** ***, ***** ** *****.

*** ***** *** ***'* ******** *** **** *'* ********* ** there ** * ******, **** ***** **** ******* ** ***** can't ******* **** * *************? **?

**** ** *** ******* **. *******'* ****** ***** **** *** pick *** ** *** *** ******, *** ****** **** ****** to ******** ****, ** *** ***** ** ** *****.

****** **** ***** *** ** *** *** ** *** *** camera, *** ******, ** *********, *** ** ***.

** *****, * ***** **** ******* ************ ****** ** *** context ** ***** ************.

*** ******* ***** **** ******** *** *** **** ** *** video ********** *** *** ******* ******* **** *** ***** ** the ***** ** *******. ** ********, *** *** ******* ******** viewing ** **** ***** *** *** **** ** ********. ******* in ******** *** *** *** *** ******, ** ****** ** me **** *** *** ***** *** *** **** ******* *** was *** ******. ** ******** ** ** ***** *** *** subject ****** ** **** **** *** ***** ** *** ***** to ******* **** * ***** ***** ***** ******* *** *** points. ***** ** ***** ****** ******, * ***'* ***** * would **** **** ** ****** ***. *** ***** ** ***** but ** ***** ** ** ******* *****. *** ****** ***** and *******.

** * **** *** ***, * ****** ******* *** ** UDP ***** ** **** ******* *** *** ********* ********?

"** * **** *** ***, * ****** ******* *** ** UDP ***** ** **** ******* *** *** ********* ********?"

* ***'* ***** ****** ****** **** ** **** **** ********** which ** ******. * ** **** ***** *** **** *** I ***** ***** ***** ** ****** ** **** *** **** useful.

*'* *****, *** **** ******* **** ********** ***** ** ** option ** ******. ** ***** ** * ****** ************ ********, not *********, ***** **** ** **** ***** **** *** ********* for ***. ***'** ******** ***** *** ******* **** *******!

****** ****. *'* **** ***'** ***** *** * ***** **** answer ***** ***.

** *****, *** ******* ****** *** ********* ***** ********* *****:

**** ********* * ****** *** * *** ********* **********, **** as ***** ** ***, *** ** *********. **** ***** ** ensure **** *** ****** ** ***** *** ******** *** ******** in *****.

**** ***** ** ***** ** ****** ******** ***** ***'* ****** from ********** ** *** ******* ******* **** *** ***** ** another ** *** *****. ******* *** ***** ****:

** ***** *** ** * ********* *******, ***** ****** *** delayed, **** **** ********* *** ****** ** **** **** ***** playing **** *****?

******* ******** ******* *** ******** ** ******** *******. ** *** the ****** ** ***** *** ******** *** ******** ** *****, then ******* **** *** ***** ****** *** **** *** ******** effect ***** ***** ** ********** *** ***** ********. * ** confused ** **** ** ***** *** ***** ********** **** *************. Thank *** *** **** ****.

** *** *** ****** ** ***** *** ******** *** ******** in *****, **** ******* **** *** ***** ****** *** **** any ******** ****** ***** ***** ** ********** *** ***** ********.

*** **? **** ** *** ***** ** ******** *********, *** playback ****** ****** **** ***** ** ******** ** * ********* network.

*** *** ** **** ** *** *********** ** *** ** the *** *** ****** *** ******** ** **** * ******** issue ** ** ********* *** **** **** **** *** ****. If ** ***** **** *** **** ******* ***** **** *** same ***, (********* **********) **** **'* *** ********, ** **'* doesn't **'* * ******** *****.

*** ****,

*** ******** ** ********* ** * ******** ********, ********.

** ********** ** **** ******** **** *** ***** ******* ** the ********, ** ***** *** ****** ** *** ******* ***** trying ** **** **** *** **** **** *** ******** *** can *** ******** ******* **** ** ******** (**** *** ** may *** **** **** ***** ** *** ******** *****).

**** ** **** **** ******* **** ********* * ******* ** will ******* ********* ** ** **.

** ***** *** ********* ***** '*****' *** ******* *******, * agree **** '*'. *** *** ******** *** ***** ******** ***** to *** ** *** ******** *** ********** ** ***. ** you *** ** ******** ** *** ****** ***** *** **** resides *** ******** **** ***** (** *********), ** *** **** does *** **** ** ******** *** ******* ****** ********.

** **** *** "*", ****** *** ******* ** ********. * mixed ** * ****** ** ****** ***** *** ** ** misunderstanding.

*** ******* ******** ** ********* **** * *** ********* ********** and **** ** ** *** **** ***** *** ***** **** to ****** **** *** ****** ** ***** *** ******** *** recorded ** *****. * **** ******* ******* *** ***** ******** was ***** ******* **** **** ***** ******* ***** ** *** been ******** **** * ****** ******. *** ***'** **** ****** me ** ******* ***** * **** ** *******. ****** **** much. * ********** **** ******* ******** ***.

**** *** ***** **** *** ***** ****** ********* **** **** during ****** ************* ********* ******.

** ***,

* *****. **** ************ ********* **** *'** *********** ***'* *** into **** ***** ** ******.

**** *****, ******* **** ******* **** *** ******* **** *** VMS ** ****** ** ****** ***. ** ***** ** ** 'reason' *** **** ** ******* **** ** ***** *** ********.

**** *** ****** ********** ** ******* *** ** **** ***** product *** *** ** ***/**** **.

** ************* ** **** ** **** ** ******** ******* ***'* a ******** *****, * ****** ***. **** ** * **** live ******** (**** ****** ** ** *****) *'* *** ***.

*** *** ***** ********** ** ** ** **** ****** **** we *** *** ** *** *****.

Login to read this IPVM report.
Why do I need to log in?
IPVM conducts unique testing and research funded by member's payments enabling us to offer the most independent, accurate and in-depth information.

Related Reports

FLIR Restructures Security Division on Aug 22, 2017
FLIR's goal was once to have a single end-to-end security solution. However, FLIR's Security business unit has been struggling, with several areas...
Dahua 4K IR PTZ Tested on Aug 21, 2017
4K has made its way to IR PTZs. In this report, we examine the Dahua 6AE830VNI, a 4K PTZ with 30x optical zoom, 200m (~650') integrated IR, and...
VLAN For Video Surveillance Usage Statistics on Aug 21, 2017
VLANs (see our tutorial) are an option for networks using video surveillance, but how often are they actually used? 125+ integrators told us how...
Sony Next Gen HD Dome Camera Tested (SNC-EM642R) on Aug 18, 2017
Sony has released their latest generation, claiming improved WDR and low light, increased IR range, and more. We tested the SNC-EM642R outdoor IR...
IP Networking Course September 2017 on Aug 17, 2017
This is the only networking course designed specifically for video surveillance professionals plus it includes live training, personal help and...
Cat 5e vs Cat 6 vs Cat 6a Network Cable Usage Statistics on Aug 16, 2017
Cat 5e? Cat 6? Cat 6a? What do integrators use in practice, today? 140+ integrators told IPVM. Here are the results: For those who want to...
Stolen Video NVR / DVR Statistics on Aug 15, 2017
"But what happens if someone steals my recorder?" Anyone who has done more than a handful of jobs has probably heard this question several times....
Vulnerability Directory For Access Control Cards on Aug 14, 2017
Knowing which access credentials are insecure can be unclear, especially because most look and feel the same. Even the most insecure 125 kHz types...
IP Camera Specification / RFP Guide 2017 on Aug 14, 2017
RFPs are hard. Do them 'right' and it takes a lot of knowledge and time. Do them 'wrong' and you can be (a) unwittingly locked into a specific...
Access Control Commissioning / Install Checklist on Aug 03, 2017
This 80+ point checklist helps end users, integrators and consultants verify that access control installation is complete. It covers the following...

Most Recent Industry Reports

Dahua 4K IR PTZ Tested on Aug 21, 2017
4K has made its way to IR PTZs. In this report, we examine the Dahua 6AE830VNI, a 4K PTZ with 30x optical zoom, 200m (~650') integrated IR, and...
Top Used License Plate Capture Cameras on Aug 21, 2017
Capturing license plates is a common video surveillance application. But what cameras do integrators mostly commonly used? Special purpose LPC...
VLAN For Video Surveillance Usage Statistics on Aug 21, 2017
VLANs (see our tutorial) are an option for networks using video surveillance, but how often are they actually used? 125+ integrators told us how...
Avigilon CEO Attacks Asian Companies Cyber Insecurity on Aug 18, 2017
Avigilon CEO is taking aim at their Asian competitors. And he is going directly after these company's cyber security issues. In this note, we...
Sony Next Gen HD Dome Camera Tested (SNC-EM642R) on Aug 18, 2017
Sony has released their latest generation, claiming improved WDR and low light, increased IR range, and more. We tested the SNC-EM642R outdoor IR...
IP Networking Course September 2017 on Aug 17, 2017
This is the only networking course designed specifically for video surveillance professionals plus it includes live training, personal help and...
Knightscope Raises $10 Million With $3,320 Average Per Investor on Aug 17, 2017
Congrats to Knightscope. And condolences to their legion of little investors. Knightscope has disclosed they have raised $10+ million from their...
Axis and Arecont Legal Conflict Over Multi-Imager Cameras on Aug 17, 2017
Arecont threatened Axis. Axis has responded by moving to invalidate an Arecont patent. It is an important contest. Multi-imagers are Arecont's...
Directory Of Consumer Security Cameras on Aug 16, 2017
The consumer camera segment continues to grow, with new startups and models from existing players released seemingly every month. In this report we...
Cat 5e vs Cat 6 vs Cat 6a Network Cable Usage Statistics on Aug 16, 2017
Cat 5e? Cat 6? Cat 6a? What do integrators use in practice, today? 140+ integrators told IPVM. Here are the results: For those who want to...

The world's leading video surveillance information source, IPVM provides the best reporting, testing and training for 10,000+ members globally. Dedicated to independent and objective information, we uniquely refuse any and all advertisements, sponsorship and consulting from manufacturers.

About | FAQ | Contact