Verify whether a given video codec is supported.
#include <camera/camera_api.h>
bool camera_is_videocodec_supported(camera_handle_t handle,
camera_videocodec_t codec)
BlackBerry 10.2.0
The handle returned by a call to the camera_open() function.
The video codec to verify.
Use this function to determine if a given video codec is supported on the device.
true when the specified video codec is supported by the device, otherwise a value of false.