Updated: October 28, 2024 |
Callback to notify users about stream status changes
#include <camera/external_camera_api.h>
typedef int(* status_callback)(camera_unit_t unit, camera_devstatus_t status, uint16_t extra);
This function can be called by the external camera library to notify users of a change in stream status.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.