TOnRawSample
Type of the OnRawVideoSample and OnRawAudioSample events.
SampleBuffer: pByte
Pointer to the buffer containing the sample data.
SampleBufferSize: Integer
Size of the buffer containing the sample data.
SampleDataLength: Integer
Length of the valid data in the buffer.
FormatType: type of the format, see TFormatType
pFormat: pointer
Pointer to the format whose type depends of the FormatType:
ft_VideoInfo: pFormat is a pVideoInfoHeader pointer
ft_VideoInfo2: pFormat is a pVideoInfoHeader2 pointer
ft_MpegVideo: pFormat is a pMpegVideoInfo pointer
ft_Mpeg2Video: pFormat is a pMpeg2VideoInfo pointer
ft_WaveFormatEx: pFormat is a pWaveFormatEx pointer.
SampleStartTime: int64 (or Double for the OCX version)
Start time of the sample, expressed in 100 nano-seconds units.
SampleEndTime: int64 (or Double for the OCX version)
End time of the sample, expressed in 100 nano-seconds units.