Quality of Service fields
Quality of Service (QoS) also known as ToS, Traffic Class, DS, DSCP, DiffServ or Differentiated Services, is a way of making sure your video stream data gets to its destination quickly and takes priority over bulk data like a large file transfer. QoS is a generic term, the specific field being set on IP networks is called DSCP (Differentiated Services Code Point).
On dedicated networks with only CCTV traffic and plenty of bandwidth the use of QoS is optional. But where CCTV video is shared with other network traffic on a busy network it is important to ensure adequate priority is given to those sources which need it.
The recommended DSCP setting is AF31 for video (and associated audio). The numeric DSCP value for AF31 is 26. The Wavestore Server uses AF31 for video connections by default (from V6.34), but the cameras need to be configured to use this as well, and network switches should be configured to treat these packets as priority over standard packets.
It is important to discuss this with your network administrator, as the network administration might prefer a different DSCP to be used, or another method to be used all together. Network switches can ignore incoming DSCP fields and set their own priorities. Talk to your network administrator first and show them this article if necessary.
Unless otherwise directed by your network administrator, cameras should be configured to use AF31. Usually the DSCP field is under Advanced Network options on a camera. Cameras might offer one of three ways to configure DSCP as AF31:
- a DSCP drop down allowing a value like AF31 to be selected.
- a numeric DSCP field in range 0..63 where 26 should be configured (as the numeric value of AF31 is 26),
- a numeric field in range 0..255 which might be called QoS, ToS, DS or DSCP which has the DSCP value in the high bits and 2 low bits of zero - so use 104 for AF31.
For details of how to configure DSCP on a specific camera, please check the camera documentation.
For further information, see Differentiated services on Wikipedia and RFC4594 section 2.3
A Wavestore Server will attempt to detect camera problems caused by network congestion and display "Network Problem" in this case. If this is seen for a camera, then check the above steps have been performed.
This recommendation uses "Multimedia Streaming" (AF31) category rather than the "Broadcast Video" (CS3) category as the video (and audio) is not broadcast but is a multimedia stream. However, Video surveillance is grouped with the latter category (CS3) in RFC4594. In reality, CS3 and AF31 are almost identical priority 3 low-drop, and most networks will treat them identically.