recordutterancetype
This property, implemented in VoiceXML 2.1, specifies the media format of a recording made during recognition. Recording must have already been enabled by setting the recordutterance property to true. See recordutterance for more information.
Voice Platform supports these audio formats:
|
Media Type |
Sample size |
Number of channels |
Encoding |
Header |
|---|---|---|---|---|
|
audio/basic |
8-bit |
1 |
mulaw |
none (headerless) |
|
audio/x-alaw-basic |
8-bit |
1 |
alaw |
none (headerless) |
|
audio/L16 |
16-bit |
1 |
linear |
none (headerless) |
|
audio/x-wav |
8-bit |
1 |
mulaw |
RIFF wav |
|
audio/x-nist |
8-bit |
1 |
mulaw |
NIST (SPHERE) wav |
If recordutterancetype is not set, audio, if submitted is in audio/basic format, which is headerless 8kHz, 8-bit, mulaw. If an unsupported media format is encountered during recognition, an error.unsupported.format event is thrown.