2.2.5.1 Speech with From Message
This message is sent from the voice server to a voice client to relay a speech message on behalf of the voice client. It contains the minimum fields needed for a speech message as well as a DVID identifying the original voice client who sent the message. This message is sent unordered and nonguaranteed by using the DirectPlay protocol voice message type.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header |
MessageNumber |
SequenceNumber |
SourceDVID |
||||||||||||||||||||||||||||
... |
SpeechData (variable) |
||||||||||||||||||||||||||||||
... |
Header (1 byte): The common message header (as specified in section 2.2.1). The MessageType field MUST be set to DVMSGID_SPEECHWITHFROM (0x64).
MessageNumber (1 byte): An 8-bit unsigned integer representing this speech message's message number.
SequenceNumber (1 byte): An 8-bit unsigned integer representing this speech message's sequence number.
SourceDVID (4 bytes): A 32-bit unsigned integer representing the DVID of the original voice client who sent the message.
SpeechData (variable): An array of bytes containing a speech frame encoded in the currently selected codec.