Raw capture of audio and video samples
It is possible to capture the raw samples coming out of the current video capture device and/or audio capture device.
Enabling the raw sample capture A) for the video samples by enabling RawVideoSampleCapture . Then, during preview or recording, each video sample coming out of the current video capture device will be returned by the OnRawVideoSample event.
B) for the audio samples by enabling RawAudioSampleCapture Then, during preview or recording, each audio sample coming out of the current audio capture device will be returned by the OnRawAudioSample event.
Both OnRawVideoSample and OnRawAudioSample events return the TOnRawSample data (buffer to the sample data, buffersize, etc...)
Location of the raw sample capture The location of the raw sample capture depends of the RawSampleCaptureLocation property:
nm_rl_SourceFormat: the sample capture is inserted on the capture device output. nm_rl_AfterCompression: the sample capture is inserted after the audio or video compressor, when recording and compressing on the fly.