Updated: October 28, 2024 |
Set the filename associated with a camera
#include <camera/camera_api.h>
camera_error_t camera_set_filename(camera_handle_t handle, const char *filename)
For cameras that support the feature CAMERA_FEATURE_FILENAME, this function permits changing the file used to generate the simulated content of the camera frames. The file needs to be an MP4 file encoded in a video format supported by the platform.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.