> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-mobile/framework-plugins/extras/video-id/video-id-configuracion.md).

# Video ID Configuration

List of component configuration parameters

### **url**

Path to the video socket

### **apiKey**

ApiKey required to connect to the video socket

### **tenantId**

Identifier of the tenant that refers to the current client, required to connect to the video service.

### **sectionTime**

Specifies the duration of sections with an associated time (face capture and camera change).

### **mode**

* ONLY\_FACE: The process is carried out by capturing the user's face.
* FACE\_DOCUMENT\_FRONT: The process is carried out by capturing the user's face and the front of the identity document.
* FACE\_DOCUMENT\_FRONT\_BACK: The process is carried out by capturing the user's face and the entire identity document.
* DOCUMENT\_FRONT: The process extracts information only from the front of the document.
* DOCUMENT\_FRONT\_BACK: The process extracts information only from the entire document.

### **timeoutServerConnection**

Maximum wait time, in ms, for the server response.

### **sectionTimeout**

Maximum time allowed to complete a section (in ms).

### **autoFaceDetection**

Enables/disables automatic face detection.

### **debug**

Enables the display of additional information useful for diagnosing and monitoring internal behavior.

### **countryFilter**

Allows processing to be restricted to a specific set of countries by accepting an array of strings representing aliases in ISO3 format (3-letter codes according to the ISO 3166-1 standard).

### **documentFilter**

Allows the types of documents accepted during capture to be restricted. Possible values are:

* "IDC": Identity document (ID Card)
* "PSP": Passport
* "DLI": Driver's License
* "VIS": Visa
* "FOC": Foreign Card
* "INV": Invoice
* "CUS": Custom Document

### **speechText**

Text that the user must speak during the video recording.

### **ocrValidations**

Dictionary containing the OCR validations to perform. The keys are the fields to validate, and the values are instances of OcrValidationValue.

OcrValidationValue has the following fields:

* value: The value to validate.
* tolerance: The tolerance level for validation.
  * STRICT: Strict validation.
  * LOW\_TOLERANCE: Validation with low tolerance.
  * MEDIUM\_TOLERANCE: Validation with medium tolerance.
  * HIGH\_TOLERANCE: Validation with high tolerance.
* validationType: The type of validation to perform.
  * OPTIONAL: Optional validation.
  * REQUIRED: Required validation.

### **ocrMaxWarnings**

Maximum number of warnings allowed during OCR validation.

### **maxRetries**

Maximum number of retries allowed for OCR validation. The default value is 3.
