video3d_frame_release video3d_stream_close navigation bar

Table of Contents

video3d_stop_streaming

Stop streaming on all open streams.

Description

The video3d_stop_streaming function stops streaming on all open streams.

Prototype

t_error
video3d_stop_streaming(t_video3d handle);
    

Parameters

t_video3d handle

The handle to the 3D video capture session returned by video3d_open.

Return value

The return value is 0 if the streams were stopped successfully. Otherwise a negative error code is returned. Error codes are defined in quanser_errors.h. A suitable error message may be retrieved using msg_get_error_message.

Error codes

QERR_INVALID_ARGUMENT

One of the arguments is invalid.

QERR_OUT_OF_MEMORY

There is not enough memory to complete the operation.

Requirements

Include Files

Libraries

quanser_video3d.h

quanser_media.lib;quanser_communications.lib;quanser_runtime.lib;quanser_common.lib

Examples

result = video3d_stop_streaming(capture);
if (result >= 0) {
    ...
    video3d_stop_streaming(capture);
}
    

See Also

 

navigation bar