> 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

### **url**

Path to the video socket

### **apiKey**

ApiKey required for the connection to the video socket

### **tenantId**

Tenant identifier referring to the current client, required for the connection to the video service.

### **sectionTime**

Indicates the duration of sections with associated time (face capture and camera switching).

### **mode**

* ONLY\_FACE: The process is performed by capturing the user's face.
* FACE\_DOCUMENT\_FRONT: The process is performed by capturing the user's face and the front of the Identity document.
* FACE\_DOCUMENT\_FRONT\_BACK: The process is performed by capturing the user's face and the complete 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 complete 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, accepting an array of strings representing aliases in ISO3 format (3-letter code according to the ISO 3166-1 standard).

### **documentFilter**

Allows restricting the types of documents accepted during capture. Possible values are:

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

### **speechText**

Text that the user must say during video recording.

### **ocrValidations**

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

OcrValidationValue has the following fields:

* value: The value to validate.
* tolerance: The tolerance level for validation.
  * STRICT: Strict validation.
  * LOW\_TOLERANCE: Low-tolerance validation.
  * MEDIUM\_TOLERANCE: Medium-tolerance validation.
  * HIGH\_TOLERANCE: High-tolerance validation.
* validationType: The type of validation to perform.
  * OPTIONAL: Optional validation.
  * REQUIRED: Mandatory validation.

### **ocrMaxWarnings**

Maximum number of warnings allowed in OCR validation.

### **maxRetries**

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