• Articles
  • Api Documentation
Search Results for

    Show / Hide Table of Contents
    • SipLib.Body
      • BodyParser
      • ContentTypes
      • MessageContentsContainer
      • MultipartBinaryBodyBuilder
      • SipBodyBuilder
    • SipLib.Channels
      • AcceptCertificateDelegate
      • AcceptConnectionDelegate
      • DscpSettings
      • LogInvalidSipMessageDelegate
      • LogSipRequestDelegate
      • LogSipResponseDelegate
      • Qos
      • SIPChannel
      • SIPConnection
      • SIPConnectionDisconnectedDelegate
      • SIPConnectionsEnum
      • SIPMessageReceivedDelegate
      • SIPTCPChannel
      • SIPTLSChannel
      • SIPUDPChannel
      • SipConnectionFailedDelegate
      • SipRequestReceivedDelegate
      • SipResponseReceivedDelegate
      • SipTransactionCompleteDelegate
      • WindowsQos
    • SipLib.Collections
      • ThreadSafeGenericList<T>
    • SipLib.Core
      • ByteBufferInfo
      • CallProperties
      • Crypto
      • HTTPDigest
      • IPSocket
      • SIPAuthenticationHeader
      • SIPAuthorisationDigest
      • SIPAuthorisationHeadersEnum
      • SIPCallInfoHeader
      • SIPConstants
      • SIPContactHeader
      • SIPEndPoint
      • SIPEscape
      • SIPFrag
      • SIPFromHeader
      • SIPGeolocationHeader
      • SIPHeader
      • SIPHeaders
      • SIPMessage
      • SIPMessageTypesEnum
      • SIPMethods
      • SIPMethodsEnum
      • SIPPaiHeader
      • SIPParameters
      • SIPPpiHeader
      • SIPProtocolsEnum
      • SIPProtocolsType
      • SIPReplacesParameter
      • SIPRequest
      • SIPResponse
      • SIPResponseStatusCodes
      • SIPResponseStatusCodesEnum
      • SIPRoute
      • SIPRouteSet
      • SIPSchemesEnum
      • SIPSchemesType
      • SIPToHeader
      • SIPURI
      • SIPUserField
      • SIPValidationException
      • SIPValidationFieldsEnum
      • SIPViaHeader
      • SIPViaSet
      • SipUtils
      • TypeExtensions
    • SipLib.Dtls
      • AlertLevelsEnum
      • AlertTypesEnum
      • DtlsClientUdpTransport
      • DtlsServerUdpTransport
      • DtlsSrtpClient
      • DtlsSrtpServer
      • DtlsSrtpTransport
      • DtlsUtils
      • IDtlsSrtpPeer
      • IPacketTransformer
      • ITransformEngine
      • NetConvert
      • RTCDtlsFingerprint
      • RawPacket
      • SrtcpCryptoContext
      • SrtpPolicy
      • SrtpTransformEngine
      • SrtpTransformer
    • SipLib.Logging
      • SipLogger
    • SipLib.Media
      • ALawDecoder
      • ALawEncoder
      • AudioDestination
      • AudioDestinationDelegate
      • AudioSampleData
      • AudioSamplesReadyDelegate
      • AudioSource
      • Band
      • DtmfDigitReceivedDelegate
      • FileAudioSource
      • G722Codec
      • G722CodecState
      • G722Decoder
      • G722Encoder
      • G722Flags
      • HighResolutionTimer
      • HighResolutionTimerDelegate
      • IAudioDecoder
      • IAudioEncoder
      • IAudioSampleSource
      • MediaPortManager
      • MediaPortSettings
      • MediaTypes
      • MsrpEncryptionEnum
      • MuLawDecoder
      • MuLawEncoder
      • PcmaDecoder
      • PcmaEncoder
      • PcmuDecoder
      • PcmuEncoder
      • PortRange
      • RtpEncryptionEnum
    • SipLib.Msrp
      • ByteRangeHeader
      • CpimMessage
      • MsrpCompletionStatus
      • MsrpConnection
      • MsrpConnectionStatusDelegate
      • MsrpMessage
      • MsrpMessageDeliveryFailedDelegate
      • MsrpMessageReceivedDelegate
      • MsrpMessageSentDelegate
      • MsrpMessageType
      • MsrpPathHeader
      • MsrpStatusHeader
      • MsrpStreamParser
      • MsrpTextMessageReceivedDelegate
      • MsrpUri
      • ReportReceivedDelegate
    • SipLib.Network
      • IpUtils
    • SipLib.RealTimeText
      • RttCharactersReceivedDelegate
      • RttParameters
      • RttReceiver
      • RttRtpSendDelegate
      • RttSender
    • SipLib.Rtp
      • ByePacket
      • DtlsHandshakeFailedDelegate
      • DtmfEventEnum
      • DtmfPacket
      • JitterStatistics
      • MeanOpinionScore
      • ReceiveStatisticsReadyDelegate
      • ReceiverReport
      • ReportBlock
      • RtcpCompoundPacket
      • RtcpHeader
      • RtcpPacketReceivedDelegate
      • RtcpPacketSentDelegate
      • RtcpPacketType
      • RtpChannel
      • RtpPacket
      • RtpPacketReceivedDelegate
      • RtpPacketSentDelegate
      • RtpReceiveStatistics
      • RtpUtils
      • SdesChunk
      • SdesItem
      • SdesItemType
      • SdesPacket
      • SenderInfo
      • SenderReport
    • SipLib.RtpCrypto
      • AesFunctions
      • CryptoAttribute
      • CryptoContext
      • CryptoSuites
      • InlineParams
      • MasterKeys
      • RocVals
      • RocValues
      • SRtpErrorsEnum
      • SRtpUtils
      • SessionKeys
      • SrtpDecryptor
      • SrtpEncryptor
      • SrtpLabelItem
      • SrtpTransformBase
    • SipLib.Sdp
      • ConnectionData
      • MediaDescription
      • MediaDirectionEnum
      • Origin
      • RtpMapAttribute
      • Sdp
      • SdpAnswerSettings
      • SdpAttribute
      • SdpUtils
      • SetupType
    • SipLib.Threading
      • QueuedActionWorkerTask
    • SipLib.Transactions
      • ClientInviteTransaction
      • ClientNonInviteTransaction
      • ServerInviteTransaction
      • ServerNonInviteTransaction
      • SipTimers
      • SipTransactionBase
      • SipTransport
      • TransactionRequestReceivedDelegate
      • TransactionResponseReceivedDelegate
      • TransactionStateEnum
      • TransactionTerminationReasonEnum
    • SipLib.Video
      • H264Depacketiser
      • H264Packetiser
      • H264Packetiser.H264Nal
      • H264RtpReceiver
      • H264RtpSender
      • RtpSendDelegate
      • RtpVP8Header
      • VP8RtpReceiver
      • VP8RtpSender
      • VideoRtpReceiver
      • VideoRtpSender

    Class WindowsQos

    Class for setting the Quality of Service (QOS) for UDP or TCP sockets used for transporting media or call signaling. This class is for the Windows operating systems only. It will not work when running on the Linux operating system. This class handles setting the Differentiated Services Code Point (DSCP) for both IPv4 and IPv6.

    Inheritance
    object
    WindowsQos
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SipLib.Channels
    Assembly: SipLib.dll
    Syntax
    public class WindowsQos

    Constructors

    | Edit this page View Source

    WindowsQos()

    Constructs a new Qos object. This constructor creates a Win32 handle to the Windows QOS subsystem and maintains it until the Shutdown method is called. Therefore, the Shutdown method must be called before this object is disposed of.

    Declaration
    public WindowsQos()

    Methods

    | Edit this page View Source

    AddTcpQos(TcpClient, uint, IPEndPoint)

    Adds the specified TcpClient object to the QOS subsystem and sets the Differentiated Services Code Point (DSCP) value for the IP layer that will handle transport for the socket. Use this method for TCP sockets.

    Declaration
    public int AddTcpQos(TcpClient TcpCli, uint DscpValue, IPEndPoint RemIpe)
    Parameters
    Type Name Description
    TcpClient TcpCli

    TcpClient object to add QOS to. The socket must be in the connected state.

    uint DscpValue

    DSCP value to set. Must be between 0x00 and 0x3f inclusive.

    IPEndPoint RemIpe

    Remote IP endpoint of the socket.

    Returns
    Type Description
    int

    Returns a Flow Identifier (FlowID) that the Windows QOS subsystem assigned to the socket. The caller must retain this value and use it in the call to the RemoveQos() method. This method returns a value of 0 if it was not able to setup the QOS for the socket. In this case, the socket is still usable but the DSCP field for the IP layer will not be set.

    | Edit this page View Source

    AddUdpQos(UdpClient, uint)

    Adds the specified Socket object to the QOS subsystem and sets the Differentiated Servies Code Point (DSCP) value for the IP layer that will handle transport for the socket For UDP.

    Declaration
    public int AddUdpQos(UdpClient udpClient, uint DscpValue)
    Parameters
    Type Name Description
    UdpClient udpClient

    UdpClient to set the DSCP value for.

    uint DscpValue

    DSCP value to set. Must be between 0x00 and 0x3f inclusive.

    Returns
    Type Description
    int

    Returns a Flow Identifier (FlowID) that the Windows QOS subsystem assigned to the socket. The caller must retain this value and use it in the call to the RemoveQos() method. This method returns a value of 0 if it was not able to setup the QOS for the socket. In this case, the socket is still usable but the DSCP field for the IP layer will not be set.

    | Edit this page View Source

    RemoveQos(nint, int)

    Removes the socket from the Windows QOS subsystem. This method must be called before the socket is closed.

    Declaration
    public void RemoveQos(nint SockHandle, int FlowId)
    Parameters
    Type Name Description
    nint SockHandle

    Underlying Socket client object of a UDP or a TCP client socket.

    int FlowId

    Flow ID of the QOS flow that was returned by the AddQos() method.

    | Edit this page View Source

    Shutdown()

    Frees the handle to the underlying handle to the Windows QOS subsystem. This method must be called before this object is disposed of. Do not call any other methods of this object after this method is called.

    Declaration
    public void Shutdown()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX