Stream Status

The following values are returned by LV_SRE_StreamSetStateChangeCallBack and StreamSetStateChangeCallBack. The stream status can also be queried through LV_SRE_StreamGetStatus and StreamGetStatus.

List of Stream Status

STREAM_STATUS_NOT_READY

Description: The stream has not been set up; StreamStart has not been called for this port.

STREAM_STATUS_READY

Description: The port is ready to accept streaming data.

STREAM_STATUS_BARGE_IN

Description: The Engine has determined that speech has started (i.e. barge-in has occurred) and stream data is now being stored. Audio prompts no longer need to be played.

STREAM_STATUS_END_SPEECH

Description: Only returned if STREAM_PARM_DETECT_END_OF_SPEECH stream type set. The Engine has determined that speech has stopped. New stream data will not be accepted until one of the StreamStart functions is called.

STREAM_STATUS_STOPPED

Description: Stream has stopped. Call StreamStart to reset stream.

STREAM_STATUS_BARGE_IN_TIMEOUT

Description: The barge-in was not triggered before the timeout. No audio will be sent for decode.

STREAM_STATUS_END_SPEECH_TIMEOUT

Description: End-of-speech was not detected before timeout. Call StreamStop here to force a decode if you are using AutoDecode.

STREAM_STATUS_BEEP

Description: An Answering Machine beep was detected in the stream. This call back is returned only when VAD is in AMD mode.

STREAM_STATUS_FAX_BEEP

Description: A Fax beep was detected in the stream. This call back is returned only when VAD is in AMD mode.

Deprecated or Non-Functinal Properties

STREAM_STATUS_REALTIMERESULT

Status: Deprecated or non functional since 9.0

STREAM_STATUS_COMPILEDRESULT

Status: Deprecated or non functional since 9.0

STREAM_STATUS_HOTWORDRESULT

Status: Deprecated or non functional since 9.0

STREAM_STATUS_SPEECH_MARKER

Status: Deprecated or non functional since 9.0

STREAM_STATUS_SPEECH_IN_PROGRESS

Status: Deprecated or non functional since 9.0

See Also

© 2012 LumenVox LLC. All rights reserved.