pjsua_vid_dev_get_info method

int pjsua_vid_dev_get_info(
  1. int id,
  2. Pointer<pjmedia_vid_dev_info> vdi
)

Retrieve the video device info for the specified device index.

@param id The device index. @param vdi Device info to be initialized.

@return PJ_SUCCESS on success, or the appropriate error code.

Implementation

int pjsua_vid_dev_get_info(
  int id,
  ffi.Pointer<pjmedia_vid_dev_info> vdi,
) {
  return _pjsua_vid_dev_get_info(
    id,
    vdi,
  );
}