M > Microphone.silenceTimeout |  |

Microphone.silenceTimeout

Microphone, audio, sound, Microphone.silenceTimeOut, silenceTimeOut

Communications/Microphone/Properties/silenceTimeout

Availability

Flash Player 6.

Usage

    activeMicrophone.silenceTimeout

Description

Read-only property; a numeric value representing the number of milliseconds between the time the microphone stops detecting sound and the time `Microphone.onActivity``(false)` is invoked. The default value is 2000 (2 seconds).

To set this value, use `Microphone.setSilenceLevel`.

Example

The following example sets the timeout to two times its current value.

    myMic.setSilenceLevel(myMic.silenceLevel, myMic.silenceTimeOut * 2);

See also

`Microphone.setSilenceLevel`