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

Milestone: "Easy Money Days Are Over" on Feb 17, 2017
Contrary to IPVM's criticisms, Milestone has reaffirmed that glory days remain. But they admit that they 'easy money days are over': Are the...
Panasonic Favorability Results on Feb 16, 2017
Panasonic is one of the largest brands in the world and a long term provider of both video surveillance imagers and cameras. But, like all...
Hikvision Silicon Valley and Canada R&D Expansion on Feb 15, 2017
After massive growth in their sales team, Hikvision is now planning to add two new R&D centers in North America. In this report we examine...
Bosch/Genetec Video Cybersecurity Partnership Examined (CHAVE) on Feb 15, 2017
Surveillance products have been relatively weak when it comes to cyber security. Default passwords, open ports, and weak authentication mechanisms...
Arecont Vision MicroDome Duo Tested on Feb 14, 2017
Arecont Vision is back with another multi-head camera, this time thinking smaller with the MicroDome Duo, a two-imager model, with the tagline...
Avigilon New VMS Version ACC6 Examined on Feb 13, 2017
Almost 4 years after ACC5 was released, Avigilon is releasing the next major revision of their VMS, which includes their Appearance...
Hitachi Taking On Security Industry on Feb 09, 2017
Hitachi, bigger than Sony and Panasonic overall, with $89 billion USD 2016 total revenue, is expanding into the security industry. They are...
Milestone App - PSIM Lite (Alesys) on Feb 09, 2017
Milestone has many features in their VMS, but it is not a PSIM. Italian PSIM developer Alesys thinks sensor integrations and alarm management can...
Alarm Panels - Canned vs Integrated on Feb 07, 2017
Alarm control panels generally come in one of two types: Integrated alarm controllers, with controls and the keypad in the same...
Axis Favorability Results on Feb 03, 2017
For many years, Axis sold the most IP cameras but, with the rise of Hikvision and Dahua, that has changed. How would that impact Axis...

Most Recent Industry Reports

'Dirty': Hikvision Attacks Genetec on Feb 20, 2017
Hikvision is angry at the growing public awareness that Hikvision is owned by the Chinese government. They took aim at Genetec,...
Directory of Alarm Company Brokers on Feb 20, 2017
Selling an RMR based business, such as alarm company, can be highly profitable, with acquisition prices of 36 to 48x RMR (equivalent to 3 to 4x...
Hikvision Hiring 50, Direct Out of College, Sales People on Feb 20, 2017
Hikvision is hiring 50, direct out of college, field sales people across the country. This is the next major expansion for the Chinese...
Simplisafe is 'Blowing The Doors Off' on Feb 17, 2017
The company alarm dealers love to hate, Simplisafe, is 'blowing the doors off' according to Michael Barnes, one of the top financial advisors in...
Hikvision OEM DDNS Devices To 'Lose Remote Access' on Feb 17, 2017
The fallout of Hikvision's DDNS discontinuation is expanding, this time hitting OEM partner Supercircuits, who reports that on June 30th: The...
Milestone: "Easy Money Days Are Over" on Feb 17, 2017
Contrary to IPVM's criticisms, Milestone has reaffirmed that glory days remain. But they admit that they 'easy money days are over': Are the...
Directory of Alarm Panel Manufacturers on Feb 16, 2017
Alarm panels are the central controller of intrusion systems. The following is a list of manufacturers of alarm panels. This directory only covers...
Panasonic Favorability Results on Feb 16, 2017
Panasonic is one of the largest brands in the world and a long term provider of both video surveillance imagers and cameras. But, like all...
Hikvision Silicon Valley and Canada R&D Expansion on Feb 15, 2017
After massive growth in their sales team, Hikvision is now planning to add two new R&D centers in North America. In this report we examine...

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