camera_stop_encode()

Stop encoding video

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_stop_encode(camera_handle_t handle)

Arguments:

handle
The handle returned by a call to the camera_open() function.

Library:

libcamapi

Description:

Use this function to stop a video encording that was started with the camera_start_encode() function.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.