QoS/ToS: Quality of Service/Type of Service

QoS/ToS: Quality of Service/Type of Service

You can set the Streambox Encoder to define the ToS (Type of Service) field in the UDP (IPv4) header (UDP and LDMP mode only). By default it is disabled. If ToS is used, this value can also be utilized by QoS (Quality of Service) packet discrimination and prioritization.

OSX Encoder

Changing TOS field in com.streambox.TransportEncoder.plist PLIST file will change it. The Console log, if enabled, will also indicate that TOS is enabled, for example:

"IP Socket TOS is set to Maximize Reliability [Obsoleted by RFC2474]"

Windows-based Encoder

Set or add the TOS field in c:\Streambox\win.ini on the Encoder, such as:

TOS=4

NOTE: You must use integer values

Settings/Values Allowed

  • Below are hex mask values for your reference, that defined by RFC, but Streambox Encoder just passes the TOS number set into the UDP header.
    • 0 - IP Socket TOS is set to Default [Obsoleted by RFC2474]
    • 1 - IP Socket TOS is set to Minimize Monetary Cost [Obsoleted by RFC2474]
    • 2 - IP Socket TOS is set to Maximize Reliability [Obsoleted by RFC2474]
    • 4 - IP Socket TOS is set to Maximize Throughput [Obsoleted by RFC2474]
    • 8 - IP Socket TOS is set to Minimize Delay [Obsoleted by RFC2474]
    • F - IP Socket TOS is set to Maximize Security [Obsoleted by RFC2474]
  • Field may allow entering summed values such as TOS=7, which is 4+2+1, thus setting all 3 of those fields: Min Cost, Max Reliability, Max Throughput.

See also: