2.2.5.6.1 On Stream Volume Message (ON_STREAM_VOLUME)
The ON_STREAM_VOLUME message is sent from the server to the client to set the master volume for a presentation.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
PresentationId (16 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
NewVolume |
|||||||||||||||||||||||||||||||
bMuted |
Header (variable): The common message header (as specified in section 2.2.1). The InterfaceId field MUST be set to 0x00000000. The Mask field MUST be set to STREAM_ID_PROXY. The FunctionId field MUST be set to ON_STREAM_VOLUME (0x0000010f).
PresentationId (16 bytes): A 16-byte GUID that identifies the presentation.
NewVolume (4 bytes): A 32-bit unsigned integer that indicates the new volume level.
bMuted (4 bytes): A 32-bit unsigned integer that indicates if the speaker is set to muted. If the speaker is muted, this value is set to one; otherwise, it is set it to zero.