Class DscpSettings
Static class that defines the default Differentiated Services Code Point (DSCP) values to use for different media types. See RFC 2475 and RFC 3260 for DSCP. The default values are those specified in Section 2.7 of NENA STA-010.3
Inherited Members
Namespace: SipLib.Channels
Assembly: SipLib.dll
Syntax
public static class DscpSettings
Remarks
The DSCP is a 6-bit field that is located in the upper 6 bits of the Type of Service (TOS) field of the IPv4 header or the upper 6 bits Traffic Class byte of the IPv6 header.
Fields
| Edit this page View SourceAudioDscp
DSCP value for audio media.
Declaration
public static uint AudioDscp
Field Value
Type | Description |
---|---|
uint |
MSRPDscp
DSCP value for MSRP media.
Declaration
public static uint MSRPDscp
Field Value
Type | Description |
---|---|
uint |
RTTDscp
DSCP value for Real Time Text (RTT) media.
Declaration
public static uint RTTDscp
Field Value
Type | Description |
---|---|
uint |
SipSignalingDscp
DSCP value for SIP signaling.
Declaration
public static uint SipSignalingDscp
Field Value
Type | Description |
---|---|
uint |
VideoDscp
DSCP value for for video media.
Declaration
public static uint VideoDscp
Field Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceGetDscpForMediaType(string)
Gets the DSCP setting for a media type.
Declaration
public static uint GetDscpForMediaType(string mediaType)
Parameters
Type | Name | Description |
---|---|---|
string | mediaType | Input media type. Must be one of: audio, text (for RTT), message (for MSRP), or video |
Returns
Type | Description |
---|---|
uint | Returns the configured DSCP value to use |