Updated: October 28, 2024 |
Verify whether the specified camera roll video format is supported
#include <camera/camera_api.h>
bool camera_is_roll_format_supported(camera_handle_t handle, camera_roll_video_fmt_t format)
This function checks if the specified camera roll video format is supported for recording data from the specified camera. Note that this is based on the current configuration of the camera, and the result could be different for a different configuration.
true when the specified video format is supported, otherwise false.