Skip to content

OnRawVideoSample

event

Delphi
property OnRawVideoSample: TOnRawVideoSample read FOnRawVideoSample write FOnRawVideoSample;
C++Builder
__property TOnRawVideoSample OnRawVideoSample = {read=FOnRawVideoSample, write=FOnRawVideoSample};
typedef void __fastcall (__closure *TOnRawVideoSample)(System::TObject* Sender, Winapi::Windows::PByte pSampleBuffer, System::LongInt SampleBufferSize, System::LongInt SampleDataLength, TFormatType FormatType, void * pFormat, void * pBitmapInfoHeader, LargeInteger SampleStartTime, LargeInteger SampleStopTime);
C#
public event OnRawVideoSampleEventHandler OnRawVideoSample;
public delegate void OnRawVideoSampleEventHandler(object sender, TOnRawVideoSampleEventArgs e);
VB.NET
Public Event OnRawVideoSample As OnRawVideoSampleEventHandler
Public Delegate Sub OnRawVideoSampleEventHandler(sender As Object, e As TOnRawVideoSampleEventArgs)
C++/Qt
void SetOnRawVideoSample (TOnRawVideoSampleCb OnRawVideoSampleCb);
typedef void CALLBACK TOnRawVideoSampleCb (void *Object, void *Sender, byte *pSampleBuffer, int SampleBufferSize, int SampleDataLength, TFormatType FormatType, void *pFormat, void *pBitmapInfoHeader, __int64 SampleStartTime, __int64 SampleStopTime);

Gives access to the current video sample

Remarks

This TOnRawVideoSample gives access to the current video sample