Turns speech recognition on/off
property Active: Boolean;
This property works differently in TRVCamera and TRVAudioPlayer.
When used in TRVCamera (to recognize speech in video received using FFmpeg):
•if Active = True when video starts, speech recognition starts as well;
•if the value of Active changes during video playback, speech recognition starts and stops according to this value.
When used in TRVAudioPlayer (to recognize speech in any audio source):
•if Active = True when audio recording starts, speech recognition starts as well;
•changing the property value during recording is ignored; to stop or start speech recognition, you need to stop/restart recording.
Failure to recognize speech is not considered a critical error by the components and does not stop video playback or audio recording. If you want to treat this as an error, handle the TRVCamera.OnError and/or TRVAudioPlayer.OnError events (parameters Source=rvcesFFmpeg, ErrorCode=FFMPEG_ERR_WHISPER_INIT).
Default value:
False