ONVIFSnapShot
TVideoGrabber.ONVIFSnapShot |
||||
|
|
|
Capture a JPEG snapshot from an ONVIF IP camera
Declaration
function ONVIFSnapShot(OnRawVideoSampleCallbackEnabled: Boolean; SaveToFile: Boolean; FileName: string ): Boolean;
BOOL ONVIFSnapShot(bool OnRawVideoSampleCallbackEnabled, bool SaveToFile, System::wchar_t *FileName);
Description
Used to capture a JPEG snapshot from an IP camera supporting the ONVIF protocol
bool OnRawVideoSampleCallbackEnabled: if true, the OnRawVideoSample event occurs, it is possible to get a direct access to the the buffer and buffer size parameters of the event, the buffer contains the JPEG image in memory.
bool SaveToFile: if true, the JPEG image is saved to the FileName specified
FileName: path/file name of the JPEG image to save
See Also
IR Cut Filter of Axis cameras TDiscoveryCallbackStatus TOnONVIFDiscoveryCompletedNotification TONVIFDeviceInfo ExtraDLLPath GetLastErrorMessage OnONVIFDiscoveryCompletedNotification ONVIF_GetStr ONVIF_SetStr ONVIFCancelDiscovery ONVIFDeviceInfo ONVIFDiscoverCameras_IPRange ONVIFDiscoverCameras_Multicast ONVIFEnumCamerasDiscovered ONVIFPTZGetLimits ONVIFPTZGetPosition ONVIFPTZPreset ONVIFPTZSendAuxiliaryCommand ONVIFPTZSetPosition ONVIFPTZStartMove ONVIFPTZStopMove OpenURLAsyncStatus