Updated: October 28, 2024 |
Restart preview for a given camera
#include <camera/external_camera_api.h>
typedef int(* restart_preview_func_t)(void *handle);
This function is called to recover streaming for a camera that was previously unplugged.
This function is optional. If it is not present, restarting preview will not be supported for this camera.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.