max-time

Maximum time allowed for recording audio with the MRCP RECORD.

Value

Integer: 0–INT_MAX (milliseconds)

Default

0 (no expiration)

How to set

In the browser, using the Max-Time header in a RECORD, SET-PARAMS, or GET-PARAMS method.

In the application’s session.xml, in the <speechrecord> section of <speechserver> under <sessionparameters>.

Usage

Seldom used.

The calculation begins when the actual capture and store begins (not necessarily the time the RECORD method is received). When the timer expires, the server stops recording and returns a RECORD-COMPLETE event with a request-state of COMPLETE.

A value of zero means infinity and allows the recording to continue until one or more of the other stop conditions is met.