Inform the video encoder to generate a keyframe on demand when encoding video.
camera_error_t camera_force_video_keyframe(camera_handle_t handle)
The handle returned by a call to the camera_open() function.
You can only call this function when video encoding is in progress. Typically, you would request a new keyframe when an error occurs while recording video, such as a network or system error. The new keyframe allows you to recover from the error as quickly as possible. Only use this function when video encoding is occurring. For instance, when the camera_start_video has been called successfully.