recordutterancetype

recordutterancetype

Default Value: “audio/basic”

Specifies the media format of utterance recordings.

Example

<?xml version="1.0"?>
<vxml version="2.0">
<property name="recordutterance" value="true"/>
<property name="recordutterancetype" value="audio/l16"/>
<form>
<field name="first_name" type="firstname">
<prompt bargein="false">
<audio src="en_us/enter_first_name.wav">
Please say your first name and spell it.
</audio>
</prompt>
<filled>
Your recording is <value expr="first_name$.recording"/>.
The recording size is <value expr="first_name$.recordingsize"/> bytes.
The recording duration is <value expr="first_name$.recordingduration"/> milliseconds.
</filled>
</field>
</form>
</vxml>

Explanation

From this example, “recordutterancetype” is set to audio/l16, which is linear 16-bit PCM. The audio format can also be set to audio/basic (µ-law encoded PCM), audio/x-alaw-basic (a-law encoded PCM), or audio/x-wav (Microsoft WAV format encoded with any of the 3 formats mentioned previously).

Notes

None