pjsua_vid_preview_has_native method

int pjsua_vid_preview_has_native(
  1. int id
)

Determine if the specified video input device has built-in native preview capability. This is a convenience function that is equal to querying device's capability for PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW capability.

@param id The capture device ID.

@return PJ_TRUE if it has.

Implementation

int pjsua_vid_preview_has_native(
  int id,
) {
  return _pjsua_vid_preview_has_native(
    id,
  );
}