camera_encoder.h

Functions to configure parameters for video and audio encoding.

This file defines functions that applications can use to configure video and audio encoding. The configurations that can be used are dependent on the codecs that are available on the device.

To select the video codec, you can call the camera_set_video_property() function with the CAMERA_IMGPROP_VIDEOCODEC property. The parameters that are supported for each video codec are defined in the corresponding file as follows:

For example, the H.264/AVC codec is defined in the camera_h264avc.h file.

To select the audio codec, call the camera_set_video_property() function with the CAMERA_IMGPROP_AUDIOCODEC property.