Retrieve the current value of a video encoder parameter
#include <camera/camera_encoder.h>
camera_get_videoencoder_parameter(camera_handle_t handle, args...)
Use this function to retrieve the currently set video encoder parameters. The parameters that you can retrieve depend on the codec you selected using camera_set_video_property().
Multiple parameter-value pairs are delimited using a comma. The parameter name that you choose depends on the video codec that is configured. For example, for H.264/AVC, use a parameter enumeration from the camera_h264avc_parameters_t enumerated type and the expected type for each value, such as an int or double.
camera_get_videoencoder_parameter( camera_handle, CAMERA_H264AVC_BITRATE, &bitrate, CAMERA_H264AVC_ENTROPYCODING, &entropy_coding, CAMERA_H264AVC_SLICETYPE, &slice_type, CAMERA_H264AVC_SLICESIZE, &slice_size );
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.