Video and audio encoding (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:
  • H.264/AVC: camera/camera_h264avc.h

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.

BlackBerry 10.2.0

Last modified: 2014-05-14

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus