QoS for Video Surveillance

By IPVM Team, Published Dec 29, 2017, 08:13am EST

Along with VLANs, QoS is one of the most misunderstood topics in IP surveillance networks. Many purported "experts" claim it is required in any and all surveillance systems, but little clear guidance is given about why, leaving those new to the field confused. In this note, we cover the basics of QoS, what it is, how it is applied, and when it should be used.

Inside we explain:

  • What is Quality of Service
  • How Quality of Service is Applied
  • Limitations
  • Practical Uses
  • Setting up QoS
  • Quiz Yourself: 5 Question Quiz to measure your knowledge on QoS for Surveillance

This is one of many tutorials on networking for surveillance. Others include: Wireless Networking for Video Surveillance, Network Addressing for Video Surveillance, Bandwidth Guide for Video Surveillance, Remote Network Access for Video Surveillance, Network Monitoring / SNMP for Video Surveillance, and more.

What ** ******* ** *******?

******* ** *******(***) ****** ** ********** used ** ****** ********************* ******** ************. *********, it ** ******* **** IP ***** ** **** services *** ******* ** the **** ******* ** typical **** ******* (**** transfers, ******** ***, ***.). Video *** ***** *** highly *******-*********, ****** ***** other ********, *** *** be ********* ******** ** bandwidth ** *** *******, resulting ** **** ******* and **** *******. ***** issues *** ****** ** dropped ******, ******** *******, camera ************** ** ***** undesirable ** ************* *******.

How *** ** *******

***** *** ***** ******* by ***** *** ** generally *******:

  • ** ***********:******* *** ** *********** is ******* **** ******. This ****** *********** *** allocates ********* ***** ** the **** ** *********** it ******. *** *******, FTP ******* *** ** assigned * ***** ******** than ********* *****, ** maintain ****** ***** ***** and *******. ******* *** by *********** ******** **** all ********** (*******, ********, servers, ***.) ******* ***, normally ***********, *** **** ****** means ***** ** ******* traffic ** *** ***********.
  • ** ****:***************** ** ******** ********* QoS, ******** * ******** VLAN ****** ******** **** the ****** ***, ** cameras, *******, *** ******* clients ******* * ****** share ** *********. ******* QoS ** **** ******** that *** ******* ******* VLAN *******, *** *** is *** ** *** switch, ********* ******* ******* at *** *******.
  • ** ****:*******, *** *** **** be *** ** ****. This ** ********* *** used ** ********, *** may ***** ** ********* by ******* ************** ** database ******* *** ******* a ******* ****** ** guaranteed ********* ** ******* their ****, ***** ***** performing ******* *****, ** not. **** ****** ** more ****-********* ** *********, since *** ***** **** be **** ** ******* login, ****** ********** **********.

** ****** ***** ****** is ****, ** *** is *******, ******* ******** must ** ****, ** QoS *** *** ** configured ** ********* ********. Below ** ******* ** example ** ******* ******'* QoS ******** [****: * Cisco ****** ** ***** as**** *** **** ****** in ************ ********].

QoS Settings on Managed Switch

**** *******, ***********, **** ********* ******** that ***** **** ***.** and **** ******** ****.

No **********

*** ** * ************** in **** *****, *** not * ********* *********, arranging *** ***** ** which ******* / **** are ****** *** *******. Some ******** *** ***** bandwidth ***********, ******** ******** services ** ******* **** X ****** ** *********, instead ** * ****** prioritization. *******, **** ** generally *** ****, ** it ** ******** ** more ********* ********** ********, and ********** ** ***** connections ******* ******** ** WAN ***********. ** **** cases, ************** *** ******** is **********.

Dedicated ** ****** ******* ***

*** ************* ***** * dedicated ******** ******* (**** ****** ** ** video), *** **** **** little ********* ******. ***** below *** *** ********** derived **** ********** ******* which ********** *** ***** majority ** ************ ******** are *********, *** ******** likely **** *** ******* from ***.

***** *** ** ********* gains ** ******** *******, i.e., ************, ****** *******, and ** ******** *** used ** *** **** network, *** ******* **** is ****** ***********.

** ****** ********, *** may ** ***** *** systems ** *** ****. In * **** ** eight ****** ****** ******* a ****** ** * small ****** ** ****** applications, ******* *** **** available ********* ******* *** is **********. *******, ** larger *******, **** ** schools, ***-***** *******, ****** environments, ***., *** ** more *********, ** *** necessary, ** ***** ******** may ****** ****** *********.

Setting ** ***

*** *******, ** * shared ********** *******, ***** IP ************, *****, *** data *** *** *******, QoS ** ********* *** in *** ** *** ways:

  • *****, ** ***********, ***** DiffServ ******* ** ********** applications. *********, ***** ** prioritized *****, ******** ** video, **** **** ********, internet ****, *** ***** general ****. *********** ** voice ** **** ********** to *****, ***** ***** may ****** ***** ******* better, ****** ***** *** higher ********. ** ** example ** **** ** IP ****** ***** *****. When ***** ********, *** must ** ********** ** each ******, ********* ** entering * ******** **** point (****), ***** ********** to ******** *****, ******** in *** ******. ** some *******, ********* ***** may ** *** *** services **** ** *****, video, *****, *** **********, so ***** ********* *** prioritized **********. ****, *** not ***, ** ******* supports ******** ** ***** ahead ** *** **** to *** **** ******. Below ** ******** ************* for * ********* ******:

DiffServ Configuration on IP Camera

  • ******, ** ****. ** this ****, *** ****** voice ****, ******** ** security, *** ******* ** file ******** *** ******** data ***** ***** ** assigned *** ** * whole. *** *** **** part, **** ** *********** the **** ** *** by ***********, *** ********************* ** *** ****, meaning **** ********** *****, audio, */* ****, *** other ***-***** ****** ********* all ******* *** **** priority.

CBR **. *** *** ***

**** ******* * ******* enabled *** ***, *** can *** ** **** camera ******* ** ******* quality ** *******. ** do **, ****** / *** **** bit **** ****, ** CBR, ** **** **** constrain ******* *********** **** network. ********* *** *** will ******* *** **** predictable *******. ***** *** or *** **** **** provides * ***** ********* target, ******** ****** ********** of **********, ***** *** provides ************** ** *******, reducing ******* *** ****** loss. *****, ***** *** bitrate ******* *** * Hikvision ******.

IP Camera Bitrate Settings

***********

***** **** *********** ****** to *** ***** ************ systems ** * ********* network, *** ** ********* not ******. ** ******, shared ********, *******, ** becomes ***** ** ********** unexpected *********** ***********.

Test **** *********

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

[****: **** ******** *** originally ********* ** **** and ************* ******* ** 2017]

Comments (15)

Thanks for the great article :) Would love to see more on managed switch settings for video optimization and security. Personally I don't think that I use a managed switch to its full capacity.

rbl

Agree
Disagree
Informative
Unhelpful
Funny

Extra security always a good idea. But if you don't have any video quality issues then I would say let it be unmanaged. And you will never use a truly managed switch to its full capacity capabilities because many of the settings are for special situations and sometimes old technology. I see more problems with customers that decide to tinker around in the settings doing more harm than good. Not saying you would be one. But I know I have locked myself out of my share of switches/routers. 

Agree
Disagree
Informative
Unhelpful
Funny

You may already be aware of this, but one beneficial thing your managed switch should be able to do that comes in handy is turning POE on and off for each port. Network admins lazy cure all. Boot it.

Agree
Disagree
Informative
Unhelpful
Funny

Great article

Agree
Disagree
Informative
Unhelpful
Funny

Given most integrators prefer to run their surveillance systems on a dedicated network, QoS is generally not needed. 

Yes but even with all the cameras on a dedicated network, the viewing clients are typically on the corporate LAN. Moreover, this bandwidth demand is not bound to the number of camera streams, but to the number of viewers of those streams.

Wouldn’t QoS possibly be helpful when deployed on those segments?

Agree: 2
Disagree
Informative
Unhelpful
Funny

Given most integrators prefer to run their surveillance systems on a dedicated network, QoS is generally not needed.

QoS could still be important on a private LAN if you consider that you may have cameras that are more critical than others and possibly have choke points with uplinks in your network.

Wouldn’t QoS possibly be helpful when deployed on those segments?

This would depend on the capabilities of the camera, are you multicasting?  Then no, but if you set up multicast into the customer's environment will you melt their core?  Maybe.  Without the correct forever morphing network design (or you can use the right core equipment and then yes, multicast is easy), this might not be the route you want to go.  If you do, call us.

If you are doing two unicast streams from the camera (if capable), then you are using twice the bandwidth (assuming same quality, frames, etc.).  QoS will be helpful if you have cameras more important that others.

However if you are pulling from the VMS, then you can design it such that this should not be an issue.

 

 

Agree
Disagree
Informative
Unhelpful
Funny

No, Walter I’m not talking about multicasting or ‘melted cores’ or ‘forever morphing network design’ or even cameras really.

I’m talking about QoS as it pertains to video distribution on a corporate LAN.  Your garden variety stuff.

Agree
Disagree
Informative
Unhelpful
Funny

I was trying to answer the question completely. I will try a general answer though, gotchas included:

If you have a lot of camera data and certain cameras matter or on the customer's network camera data means more that other traffic (like general internet) then yes, QoS can benefit if there is a constriction in the network.

My 1st answer was trying to address the challenges in the dedicated network, the uplinks to the customer network and possibly video needed across a WAN link. QoS can address priority or address reserved bandwidth, usually not both.

Agree
Disagree
Informative
Unhelpful
Funny

forever morphing network design

Sounds cool. What is it?

Agree
Disagree
Informative
Unhelpful
Funny

QoS of some type is beneficial to any size network. Even a single computer. Especially a windows PC. Usually one PC on an Internet connected network has sufficient amount of bandwidth. But lets just say they only have a 5 mbps up and down Internet connection. And user leaves Window updates to default settings. When patch tuesday rolls around the corner while the user is online gaming, there will be issues. Microsoft will open about 30 download and 30 upload connections at once. Which stomps the quality right out of your service.

Agree
Disagree
Informative
Unhelpful
Funny

Microsoft will open about 30 download and 30 upload connections at once. Which stomps the quality right out of your service.

With or without the gamer online, it sounds like the Internet for the office is going to be impacted.  So how would you configure the QoS in such a situation containing surv video as well?

Agree
Disagree
Informative
Unhelpful
Funny

.

Agree
Disagree
Informative
Unhelpful
Funny

However, this is generally not used, as it is featured in more expensive enterprise switches, and restricted to trunk connections between switches or WAN connections.

Generally not used maybe, but it is also featured in sub $20 SoHo wifi routers/switches/APs. No restrictions that you mention either. 

I know my beloved Mikrotik will win this argument and require an edit to original post.

Agree
Disagree
Informative
Unhelpful
Funny

You're doing great job posting those network-related articles!

regarding this one, I agree with a conclusion: most of the security networks are physically separated from the data networks, so QoS is not something people need to think about. And if we have a big corp network with different services, including CCTV, there's always a qualifier network admin to think about architecture so CCTV guy don't need to do anything, except setting up the numbers in the device settings

Agree
Disagree
Informative
Unhelpful
Funny

Good info

Agree
Disagree
Informative
Unhelpful
Funny
Read this IPVM report for free.

This article is part of IPVM's 7,253 reports and 966 tests and is only available to subscribers. To get a one-time preview of our work, enter your work email to access the full article.

Already a subscriber? Login here | Join now
Loading Related Reports