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

OpenEye Takes Aim At Exacq on Mar 23, 2017
First Milestone targeted Exacq with a takeover offer, and now OpenEye is gunning for them with an offer to swap out Exacq for their cloud-managed...
Lock Keyways For Access Control Guide on Mar 23, 2017
Lock keyways can be the difference between a lock working or not. Understanding keyways is important for access control. Indeed, a member recently...
Glass Break Sensor Tutorial on Mar 21, 2017
Burglars often break glass windows to get into a house. Using glass break detectors in conjunction with alarm contacts is a good way to protect the...
VMS Update Automation Compared on Mar 20, 2017
Updating VMS software can be a tedious and time consuming processing, which historically has required users to access each machine, download update...
Alarm Panic Switches Tutorial on Mar 16, 2017
Panic switches allow silently triggering an alarm system when it is otherwise disarmed. In this tutorial we explain and contrast the 7 most common...
Top Trade Shows For Security Integrators on Mar 16, 2017
100+ North American security integrators told us what trade shows they attend and why. The most well known shows are ISC West and ASIS but there...
Environmental Sensors For Burglar Alarm Tutorials on Mar 15, 2017
Intrusion detection systems can be used to alert users to environmental issues. By connecting sensors that monitor the heat, humidity, and...
Burglar Alarm Screens Tutorial on Mar 14, 2017
Many residential alarm subscribers arm their alarms before going to bed at night. Wiring window screens allow these subscribers to leave their...
Alarm Contacts Tutorial on Mar 07, 2017
Contacts are the devices that tell an alarm panel when an entryway is open or closed. The act of opening or closing an entryway, such as a door or...
Alarm Motion Detector Tutorial on Mar 06, 2017
Sensors designed to detect movement are a good way to protect large, open areas. In this tutorial, we examine motion detectors,...

Most Recent Industry Reports

Axis Camera Vulnerabilities From Google Researcher Analyzed on Mar 23, 2017
A Google security researcher has reported 6 vulnerabilities for Axis cameras, affecting multiple models and firmware versions. In this report, we...
OpenEye Takes Aim At Exacq on Mar 23, 2017
First Milestone targeted Exacq with a takeover offer, and now OpenEye is gunning for them with an offer to swap out Exacq for their cloud-managed...
Lock Keyways For Access Control Guide on Mar 23, 2017
Lock keyways can be the difference between a lock working or not. Understanding keyways is important for access control. Indeed, a member recently...
Broken Browser Support for Video Surveillance on Mar 22, 2017
Modern web browsers have left the security industry behind. Current Chrome, Firefox, and Microsoft Edge browsers do not support NPAPI plugins,...
ADI Favorability Results on Mar 22, 2017
150 North American integrators provided feedback on 6 distributors, and why they do (or do not do) business with ADI. ADI is clearly a big name in...
1 Million Dahua Devices Exposed To Backdoor on Mar 22, 2017
Statistics show that 1 million Dahua devices are publicly exposed and vulnerable to the Dahua backdoor. Despite this, Dahua has downplayed the...
Hikvision Hires Crisis Communication Writer on Mar 21, 2017
Hikvision has hired a crisis communication writer as the company ramps up its efforts to deal with the 'crisis' it feels it is facing. 'Crisis...
Glass Break Sensor Tutorial on Mar 21, 2017
Burglars often break glass windows to get into a house. Using glass break detectors in conjunction with alarm contacts is a good way to protect the...
Unikey Smart Phone Access Control Platform on Mar 21, 2017
More and more people carry smart phones. Many think this could replace the conventional key or card for access control. However, using a phone...
Hikvision Attacks IPVM on Mar 20, 2017
Hikvision has attacked IPVM repeatedly over the last month, both in the international press and in its dealer communications. Attacks Listed On...

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