Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Quality Mode PDU is a PDU used by the client to select one of three quality modes. If both the client and server are at least version 6, the client MUST send a Quality Mode PDU immediately after sending the audio formats. This packet is only used when the client and server versions are both at least 6.<7> This PDU MUST be sent using virtual channels.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header |
|||||||||||||||||||||||||||||||
wQualityMode |
Reserved |
Header (4 bytes): An RDPSND PDU Header (section 2.2.1). The msgType field of the RDPSND PDU Header MUST be set to SNDC_QUALITYMODE (0x0C).
wQualityMode (2 bytes): A 16-bit unsigned integer. This field specifies the quality setting the client has requested. The definition of these three modes is implementation-dependent, but SHOULD use the following guidelines.
-
Value
Meaning
DYNAMIC_QUALITY
0x0000
The server dynamically adjusts the audio format to best match the bandwidth and latency characteristics of the network.
MEDIUM_QUALITY
0x0001
The server chooses an audio format from the list of formats the client supports that gives moderate audio quality and requires a moderate amount of bandwidth.
HIGH_QUALITY
0x0002
The server chooses the audio format that provides the best quality audio without regard to the bandwidth requirements for that format.
Reserved (2 bytes): A 16-bit unsigned integer. This field is unused. The value is arbitrary and MUST be ignored on receipt.