<< Click to display table of contents >> TRVAudioPlayer.OnError |
The event occurs in response to an error.
property OnError: TRVCamErrorEvent;
This event allows handling errors that may occur while recording audio (with Source parameter = rvcesFFmpeg).
Some errors are critical and interrupt audio recording. Others are more like warnings, but this event enables you to treat them as errors and stop the current operation if necessary.
This event may be triggered from a background thread, so avoid direct interaction with the user interface. If you need to update the UI, use TThread.Synchronize or TThread.Queue to safely execute code in the main thread.
See also
•TRVCamera.OnError
•TRVCamRecorder.OnError