pjsua_vid_dev_get_setting method
Retrieve the value of a video capture device setting. If the device is currently active (i.e. if there is a video call using the device or a video preview has been started), the function will forward the request to the video device. If video device is currently inactive, and if application had previously set the setting and mark the setting as kept, then that setting will be returned. Otherwise, this function will return error. The function only works for video capture device.
@param id The video device index. @param cap The video device capability to retrieve. @param pval Pointer to receive the value. Please see #pjmedia_vid_dev_cap documentation about the type of value to be supplied for each setting.
@return PJ_SUCCESS on success or the appropriate error code.
Implementation
int pjsua_vid_dev_get_setting(
int id,
int cap,
ffi.Pointer<ffi.Void> pval,
) {
return _pjsua_vid_dev_get_setting(
id,
cap,
pval,
);
}