camera_stop_video_group()

Updated: April 19, 2023

Stop synchronized video recoding or encording with a given video group

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_stop_video_group(camera_video_group_id_t group_id)

Arguments:

group_id
The ID of the video group (see camera_video_group_id_t).

Library:

libcamapi

Description:

After having called camera_start_video_group() to start the video recording or encoding, call camera_stop_video_group() to simultaneously stop the recording or encoding of video for all cameras associated with the given video group. After calling this function, you then need to call camera_stop_video() or camera_stop_encode() for all of the associated cameras to finalize the video recordings and encodings.

Returns:

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