Skip to content



TWebMediaCapture is a non-visual component to capture data from a device microphone or camera. It allows to directly access the captured sound or video as binary data. TWebMediaCapture is ideal to measure audio levels for example. Below is a list of the most important properties methods and events for TWebMediaCapture.

Designtime Runtime

Properties for TWebMediaCapture

Property Description
Camera: TWebCamera Property to assign the TWebCamera.
Capture Property to set which stream(s) to capture.
FFTSize Property for automatic capturing. Represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data.
RecordingMode Property to switch between manual and automatic capturing.
Sensitivity: Integer Property for automatic capturing. Values are accepted from 0 to 100, where 0 means the least and 100 means the most sensitive setting.
SmoothingTimeConstant: Double Property for automatic capturing. Represents the averaging constant with the last analysis frame.

Methods for TWebMediaCapture

Property Description
Start Method to start the capturing.
Stop Method to stop the capturing.

Events for TWebMediaCapture

Property Description
OnStartCapture Event triggered when the capturing started.
OnStopCapture Event called when the capturing stopped.