RtgvCloseReceiveStream

RtgvCloseReceiveStream closes the receive stream associated with the specified camera. The camera will no longer receive frames, even if it continues to send them.

Syntax

Copy
BOOL RtgvCloseReceiveStream(
    [in]    HANDLE cameraHandle
);

Parameters

[in] cameraHandle

A handle to the camera who's corresponding receive stream will be closed.

Return Values

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.

Remarks

If there is no open stream when this function is called, the function will fail.

This function cannot be called before calling RtgvInitialize.

To find the camera to query, call RtgvInitialize and then call RtgvEnumerateCameras to get an RTGV_CAMERA_INFO array describing each camera found on the network, along with its handles.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtgvApi.h

RtgvApi.lib

See Also: