Configuration reference#
openvidu.env#
This file defines global configuration parameters used by other services, such as the domain name, credentials, etc.
| Parameter | Description |
|---|---|
DOMAIN_NAME |
The domain name for the deployment. Use this domain name to access OpenVidu APIs and services. |
LIVEKIT_API_KEY |
Global LiveKit API Key and Secret used for apps to connect to OpenVidu. |
LIVEKIT_API_SECRET |
Global LiveKit API Key and Secret used for apps to connect to OpenVidu. |
MINIO_ACCESS_KEY |
Access key for MinIO. |
MINIO_SECRET_KEY |
Secret key for MinIO. |
EXTERNAL_S3_ENDPOINT |
If defined, Minio will not be used and the deployment will use an external S3 service. This is the endpoint of the external S3 service. |
EXTERNAL_S3_ACCESS_KEY |
Access key for the external S3 service if used. |
EXTERNAL_S3_SECRET_KEY |
Secret key for the external S3 service if used. |
EXTERNAL_S3_REGION |
Region of the external S3 service if used. |
EXTERNAL_S3_PATH_STYLE_ACCESS |
If true, use path-style access for the external S3 service if used. |
EXTERNAL_S3_BUCKET_APP_DATA |
External S3 bucket name for OpenVidu App Data. This is the bucket where application data like recordings, etc. will be stored. |
EXTERNAL_S3_BUCKET_CLUSTER_DATA |
External S3 bucket used in High Availability to store Observability data. |
EXTERNAL_S3_SSE_TYPE |
Server-side encryption algorithm for the external S3 service. Supported values: SSE-S3 (S3-managed AES256) or SSE-KMS (AWS KMS-managed). Leave empty to disable SSE. |
EXTERNAL_S3_SSE_KMS_KEY_ID |
AWS KMS key ID for SSE-KMS encryption. Required when EXTERNAL_S3_SSE_TYPE is SSE-KMS. |
EXTERNAL_S3_SSE_KMS_ENCRYPTION_CONTEXT |
Optional JSON object representing the KMS encryption context. Only used with SSE-KMS. |
MONGO_ADMIN_USERNAME |
MongoDB admin username. |
MONGO_ADMIN_PASSWORD |
MongoDB admin password. |
DASHBOARD_ADMIN_USERNAME |
Admin username for OpenVidu Dashboard |
DASHBOARD_ADMIN_PASSWORD |
Admin password for OpenVidu Dashboard |
GRAFANA_ADMIN_USERNAME |
Admin username for Grafana |
GRAFANA_ADMIN_PASSWORD |
Admin password for Grafana |
OPENVIDU_PRO_LICENSE |
PRO OpenVidu Pro license key. Get an OpenVidu Pro License here . |
OPENVIDU_RTC_ENGINE |
PRO The WebRTC engine to use. Can be mediasoup (default) or pion. |
MEET_BASE_PATH |
Base path where OpenVidu Meet is served. Default is /meet. If set to /, OpenVidu Meet will be served at the root path and the automatic proxy to port 6080 for custom applications will not be available. |
meet.env#
This file defines the configuration parameters for the OpenVidu Meet service.
| Parameter | Description |
|---|---|
SERVER_PORT |
Port where the OpenVidu Meet service will be running. |
SERVER_CORS_ORIGIN |
CORS origin for the OpenVidu Meet service. It is * by default, allowing all origins. |
SERVER_TRUST_PROXY |
Configures whether the OpenVidu Meet service trusts the X-Forwarded-* headers from reverse proxies. This is essential for proper rate limiting and obtaining the real client IP address. Supported values: true (trust all proxies), false (disable), a number (number of hops to trust), or a comma-separated list of the addresses and subnets of the proxies to trust (for example 10.0.0.1,172.16.0.0/12). This is required when OpenVidu Meet is behind a reverse proxy. Default is true. |
LIVEKIT_URL |
LiveKit URL for the OpenVidu Meet service to connect to the LiveKit server. |
LIVEKIT_URL_PRIVATE |
LiveKit URL for the OpenVidu Meet service to connect to the LiveKit server internally. This is used in High Availability deployments. |
LIVEKIT_API_KEY |
LiveKit API Key for the OpenVidu Meet service to connect to the LiveKit server. |
LIVEKIT_API_SECRET |
LiveKit API Secret for the OpenVidu Meet service to connect to the LiveKit server. |
MEET_INITIAL_ADMIN_USER |
Username for the Admin user of the OpenVidu Meet service. The user is created on start when it does not exist. It must be at least 5 characters long, or OpenVidu Meet does not start. |
MEET_INITIAL_ADMIN_PASSWORD |
Password for the Admin user of the OpenVidu Meet service. Only used when the Admin user is created, and then it must be at least 5 characters long, or OpenVidu Meet does not start. |
MEET_INITIAL_API_KEY |
API Key for the OpenVidu Meet service. This is used by applications developed with OpenVidu Meet. Registered on start when the service has no API key. |
MEET_ACCESS_TOKEN_EXPIRATION |
Expiration time for access tokens issued by OpenVidu Meet. Default is 2h. |
MEET_REFRESH_TOKEN_EXPIRATION |
Expiration time for refresh tokens issued by OpenVidu Meet. Default is 1d. |
MEET_ROOM_MEMBER_TOKEN_EXPIRATION |
Expiration time for room member tokens issued by OpenVidu Meet. Default is 2h. |
MEET_PASSWORD_CHANGE_TOKEN_EXPIRATION |
Expiration time for password change tokens issued by OpenVidu Meet. Default is 15m. |
MEET_REFRESH_TOKEN_ROTATION_ENABLED |
If true, refresh tokens are rotated when used by OpenVidu Meet. Default is true. |
MEET_INITIAL_WEBHOOK_ENABLED |
If true, the webhook registered from MEET_INITIAL_WEBHOOK_URL starts active (it also requires MEET_INITIAL_API_KEY, which signs the deliveries); otherwise it starts paused. Only used when the webhook is registered. |
MEET_INITIAL_WEBHOOK_URL |
URL of the first webhook registered in the OpenVidu Meet service, receiving every event of every room. More webhooks can be registered later from the OpenVidu Meet app or the REST API. |
MEET_BLOB_STORAGE_MODE |
Storage mode for saving blobs in OpenVidu Meet. Valid values are: s3 (S3 bucket), abs (Azure Blob Storage) and gcs (Google Cloud Storage), in any letter case. Default is s3. With any other value, OpenVidu Meet does not start. With gcs, OpenVidu Meet uses the bucket of MEET_S3_BUCKET and the path of MEET_S3_SUBBUCKET, and authenticates with Google Application Default Credentials: the service account key file named by GOOGLE_APPLICATION_CREDENTIALS, or else the service account attached to the machine. |
MEET_S3_BUCKET |
S3 bucket name for OpenVidu Meet service. It is used to store recordings. With MEET_BLOB_STORAGE_MODE set to gcs, it is the Google Cloud Storage bucket. Default is openvidu-appdata. |
MEET_S3_SUBBUCKET |
Path inside the bucket where the recordings of OpenVidu Meet are stored. With MEET_BLOB_STORAGE_MODE set to gcs, it is the path inside the Google Cloud Storage bucket. With abs, it has no effect: the path comes from MEET_AZURE_SUBCONTAINER_NAME. Default is openvidu-meet. |
MEET_S3_SERVICE_ENDPOINT |
S3 service endpoint for OpenVidu Meet service. |
MEET_S3_ACCESS_KEY |
S3 access key for OpenVidu Meet service. |
MEET_S3_SECRET_KEY |
S3 secret key for OpenVidu Meet service. |
MEET_AWS_REGION |
AWS region of the S3 Bucket application. |
MEET_S3_WITH_PATH_STYLE_ACCESS |
If true, use path-style access for S3. |
MEET_S3_SSE_TYPE |
Server-side encryption algorithm. Supported values: SSE-S3 (S3-managed AES256), SSE-KMS (AWS KMS-managed). OpenVidu Meet writes nothing to the bucket, so this setting encrypts nothing: recordings are written by the egress, which follows EXTERNAL_S3_SSE_TYPE, EXTERNAL_S3_SSE_KMS_KEY_ID and EXTERNAL_S3_SSE_KMS_ENCRYPTION_CONTEXT of openvidu.env. With MEET_BLOB_STORAGE_MODE set to s3, OpenVidu Meet only validates the three MEET_S3_SSE_* variables at startup, and does not start when their combination is invalid. |
MEET_S3_SSE_KMS_KEY_ID |
AWS KMS key ID for SSE-KMS encryption. Required when MEET_S3_SSE_TYPE is SSE-KMS, and not allowed otherwise. Only validated, as explained for MEET_S3_SSE_TYPE. |
MEET_S3_SSE_KMS_ENCRYPTION_CONTEXT |
Optional JSON object representing the KMS encryption context. Only allowed with SSE-KMS. Only validated, as explained for MEET_S3_SSE_TYPE. |
MEET_AZURE_CONTAINER_NAME |
Azure Blob Storage container name for OpenVidu Meet service. It is used to store recordings. |
MEET_AZURE_SUBCONTAINER_NAME |
Path inside the Azure Blob Storage container where OpenVidu Meet stores its recordings. It decides both where new recordings are written and where they are read from. Default is openvidu-meet. |
MEET_AZURE_ACCOUNT_NAME |
Azure Blob Storage account name for OpenVidu Meet service. |
MEET_AZURE_ACCOUNT_KEY |
Azure Blob Storage account key for OpenVidu Meet service. Leave it empty to authenticate with the managed identity of the VM or pod running Meet, which needs a data role on the storage account, such as Storage Blob Data Contributor. |
MEET_REDIS_HOST |
Redis host used by the OpenVidu Meet service to store session data. |
MEET_REDIS_PORT |
Redis port used by the OpenVidu Meet service to connect to the Redis server. |
MEET_REDIS_USERNAME |
Redis username used by the OpenVidu Meet service to connect to the Redis server. |
MEET_REDIS_PASSWORD |
Redis password used by the OpenVidu Meet service to connect to the Redis server. |
MEET_REDIS_DB |
Redis database used by the OpenVidu Meet service. Default value is 0. |
MEET_REDIS_SENTINEL_HOST_LIST |
Redis Sentinel host list used by the OpenVidu Meet service to connect to Redis Sentinel servers. |
MEET_REDIS_SENTINEL_PASSWORD |
Redis Sentinel password used by the OpenVidu Meet service to connect to Redis Sentinel servers. |
MEET_REDIS_SENTINEL_MASTER_NAME |
Redis Sentinel master name used by the OpenVidu Meet service to connect to Redis Sentinel servers. |
MEET_BASE_PATH |
Base path where the OpenVidu Meet application is served. Default is /meet. |
MEET_CAPTIONS_ENABLED |
Enable live captions in OpenVidu Meet using the OpenVidu Speech to Text agent. When set to true, participants can activate real-time speech-to-text transcription during meetings. Requires the Speech Processing Agent to be enabled. Default is false. See Live Captions in OpenVidu Meet. |
MEET_LOG_LEVEL |
Log level for OpenVidu Meet service. Valid values are: error, warn, info, verbose, debug, silly. |
dashboard.env#
This file defines the configuration parameters for the OpenVidu Dashboard service. The OpenVidu installer fills in the parameters that connect the dashboard to the deployment (port, admin credentials from openvidu.env, MongoDB connection and, in OpenVidu PRO, the license). The following parameters are optional and can be added to the file:
| Parameter | Default | Description |
|---|---|---|
LOG_LEVEL |
info |
Log level of the service: error, warn, info, http, verbose or debug. |
DATABASE_TLS_CA_FILE |
Path, inside the container, to the PEM file of a private certificate authority for the MongoDB connection. It enables TLS. | |
DASHBOARD_JWT_SECRET |
Generated once and stored in MongoDB | Key that signs the session tokens, at least 32 bytes long. |
DASHBOARD_REFRESH_TOKEN_TTL |
604800 |
Seconds a session lasts without use (7 days by default). |
DASHBOARD_COOKIE_SECURE |
auto |
Whether the session cookie requires HTTPS: auto (when the request is HTTPS), true or false. |
DASHBOARD_TRUST_PROXY |
Private networks | Proxies whose X-Forwarded-* headers are trusted: false, a number of hops, or a comma-separated list of addresses and CIDR ranges. Login attempts are limited per client IP address, which the dashboard reads from these headers. |
DASHBOARD_LIST_TOTAL_MAX_RANGE |
7d |
Longest time range for which the lists count their total number of items and offer every sort order. |
DASHBOARD_ANALYTICS_CACHE_TTL |
60 |
Seconds the Analytics page figures of completed periods are cached; 0 disables the cache. |
PRO v2compatibility.env#
Info
OpenVidu V2 Compatibility is part of OpenVidu PRO. Before deploying, you need to create an OpenVidu account to get your license key. There's a 15-day free trial waiting for you!
This file defines the configuration parameters for the OpenVidu V2 Compatibility Server. They resemble the configuration parameters of OpenVidu 2 , adding the prefix V2COMPAT_ to the parameter name.
| Parameter | Description |
|---|---|
OPENVIDU_PRO_LICENSE |
OpenVidu Pro license key. Get an OpenVidu Pro License here . |
V2COMPAT_OPENVIDU_SHIM_PORT |
Port where the OpenVidu V2 Compatibility will be running. Defaults to 4443. |
V2COMPAT_OPENVIDU_SHIM_URL |
Public URL for OpenVidu v2 applications, used by external clients to connect to the OpenVidu V2 Compatibility Server. |
V2COMPAT_OPENVIDU_SECRET |
OpenVidu Secret used by OpenVidu v2 applications to connect to the OpenVidu deployment. |
V2COMPAT_LIVEKIT_URL |
LiveKit URL used by external clients to connect to the OpenVidu V2 Compatibility Server using the LiveKit protocol. |
V2COMPAT_LIVEKIT_URL_PRIVATE |
LiveKit URL used by the OpenVidu V2 Compatibility Server to connect to the LiveKit Server internally. |
V2COMPAT_LIVEKIT_API_KEY |
LiveKit API Key used by the OpenVidu V2 Compatibility Server to interact with the LiveKit Server. |
V2COMPAT_LIVEKIT_API_SECRET |
LiveKit API Secret used by the OpenVidu V2 Compatibility Server to interact with the LiveKit Server. |
V2COMPAT_REDIS_HOST |
Redis host used by the OpenVidu V2 Compatibility Server to store session data. |
V2COMPAT_REDIS_PORT |
Redis port used by the OpenVidu V2 Compatibility Server to connect to the Redis server. |
V2COMPAT_REDIS_PASSWORD |
Redis password used by the OpenVidu V2 Compatibility Server to connect to the Redis server. |
V2COMPAT_REDIS_SENTINEL_HOST_LIST |
Redis Sentinel host list used by the OpenVidu V2 Compatibility Server to connect to Redis Sentinel servers. |
V2COMPAT_REDIS_SENTINEL_PASSWORD |
Redis Sentinel password used by the OpenVidu V2 Compatibility Server to connect to Redis Sentinel servers. |
V2COMPAT_REDIS_MASTER_NAME |
Redis Sentinel master name used by the OpenVidu V2 Compatibility Server to connect to Redis Sentinel servers. |
V2COMPAT_REDIS_DB |
Redis database used by the OpenVidu V2 Compatibility Server. Default value is 0. |
V2COMPAT_OPENVIDU_RECORDING_PATH |
Path where the OpenVidu V2 Compatibility Server will store recordings locally. By default in the deployments is /opt/openvidu/recordings. |
V2COMPAT_OPENVIDU_PRO_RECORDING_STORAGE |
Where to store the recordings. Valid values are:
local |
V2COMPAT_OPENVIDU_RECORDING_CUSTOM_LAYOUT_URL |
URL of the custom layout used by the OpenVidu V2 Compatibility Server to generate the recordings. |
V2COMPAT_OPENVIDU_PRO_AWS_S3_WITH_PATH_STYLE_ACCESS |
If true, use path-style access for S3. |
V2COMPAT_OPENVIDU_RECORDING_ZIP_FILES |
If true, save individual recordings as zip files |
V2COMPAT_OPENVIDU_RECORDING_RAW_FILES |
If true, save individual recordings as files directly |
V2COMPAT_OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT |
Number of seconds that a session, and therefore its recording, remains active after the last participant leaves. It must be an integer greater than or equal to 1; any other value is ignored and the default is used. Default value is 1. In OpenVidu 3 a recording is tied to its session, so keeping the recording active requires keeping the session alive. In OpenVidu 2 the session was destroyed immediately when the last participant left, while the recording continued independently. The OpenVidu 2 equivalent is 120, but the default is 1 to preserve the session lifecycle of OpenVidu 2. It applies to the sessions created after the service starts with the new value. |
V2COMPAT_OPENVIDU_PRO_AWS_S3_BUCKET |
Default bucket name for recordings |
V2COMPAT_OPENVIDU_PRO_AWS_S3_SERVICE_ENDPOINT |
S3 service endpoint for the recordings |
V2COMPAT_OPENVIDU_PRO_AWS_ACCESS_KEY |
Access key for the recordings S3 bucket |
V2COMPAT_OPENVIDU_PRO_AWS_SECRET_KEY |
Secret key for the recordings S3 bucket |
V2COMPAT_OPENVIDU_PRO_AWS_REGION |
AWS region of the recordings S3 bucket |
V2COMPAT_OPENVIDU_PRO_AWS_S3_SSE_TYPE |
Server-side encryption algorithm for the recordings S3 bucket. Supported values: SSE-S3 (S3-managed AES256), SSE-KMS (AWS KMS-managed). |
V2COMPAT_OPENVIDU_PRO_AWS_S3_SSE_KMS_KEY_ID |
AWS KMS key ID for SSE-KMS encryption for the recordings bucket. Required when V2COMPAT_OPENVIDU_PRO_AWS_S3_SSE_TYPE is SSE-KMS. |
V2COMPAT_OPENVIDU_PRO_AWS_S3_SSE_KMS_ENCRYPTION_CONTEXT |
Optional JSON object representing the KMS encryption context for the recordings bucket. Only used with SSE-KMS. |
V2COMPAT_OPENVIDU_WEBHOOK |
If true, the OpenVidu V2 Compatibility Server will send webhooks to V2COMPAT_OPENVIDU_WEBHOOK_ENDPOINT |
V2COMPAT_OPENVIDU_WEBHOOK_HEADERS |
JSON Array list of headers to send in the OpenVidu V2 Webhook events. For example: ["Content-Type: application/json"] |
V2COMPAT_OPENVIDU_WEBHOOK_EVENTS |
Comma-separated list of OpenVidu V2 Webhook events to send. All available events are:
|
livekit.yaml:#
As OpenVidu Server is built on top of LiveKit, the configuration of OpenVidu Server is done in the livekit.yaml file in its own openvidu section in this file. The rest of the configuration is the same as the LiveKit server configuration .
COMMUNITY OpenVidu Server Configuration:#
openvidu:
analytics: # (1)
enabled: true # (2)
mongo_url: mongodb://<MONGO_ADMIN_USERNAME>:<MONGO_ADMIN_PASSWORD>@localhost:20000/ # (3)
interval: 10s # (4)
retention: # (5)
events: 7d
stats: 7d
tracks: 7d
entities: 90d
rollups_5min: 7d
rollups_hourly: 400d
- The
analyticsconfiguration should be defined at theopenvidulevel in thelivekit.yamlfile. - This must be set to
trueto send analytics data to MongoDB. If set tofalse, no analytics data will be sent. - MongoDB connection string. In OpenVidu Single Node, the MongoDB service is running on the same machine, so you can use
localhostas the hostname. The default port in OpenVidu for MongoDB is20000.MONGO_ADMIN_USERNAMEandMONGO_ADMIN_PASSWORDare the credentials to access the MongoDB database. - Time interval to send analytics data to MongoDB.
- Time to keep each class of analytics data in MongoDB: raw events, statistics, closed tracks and subscriptions, closed rooms, participants, egresses and ingresses, and 5-minute and hourly rollups. Daily rollups are kept forever unless
rollups_dailyis set. See Analytics settings.
PRO OpenVidu Server Configuration:#
Info
Before deploying OpenVidu PRO, you need to create an OpenVidu account to get your license key. There's a 15-day free trial waiting for you!
openvidu:
license: <YOUR_OPENVIDU_PRO_LICENSE> # (1)
cluster_id: <YOUR_DOMAIN_NAME> # (2)
analytics: # (3)
enabled: true # (4)
interval: 10s # (5)
retention: # (6)
events: 7d
stats: 7d
tracks: 7d
entities: 90d
rollups_5min: 7d
rollups_hourly: 400d
mongo_url: <MONGO_URL> # (7)
rtc:
engine: mediasoup # (8)
mediasoup:
debug: "" # (9)
log_level: error # (10)
log_tags: [info, ice, rtp, rtcp, message] # (11)
- Specify your OpenVidu Pro license key. If you don't have one, you can request one here .
- The cluster ID for the OpenVidu deployment. It is configured by default by OpenVidu Installer with the domain name of the deployment.
- The
analyticsconfiguration should be defined at theopenvidulevel in thelivekit.yamlfile. - This must be set to
trueto send analytics data to MongoDB. If set tofalse, no analytics data will be sent. - Time interval to send analytics data to MongoDB.
- Time to keep each class of analytics data in MongoDB: raw events, statistics, closed tracks and subscriptions, closed rooms, participants, egresses and ingresses, and 5-minute and hourly rollups. Daily rollups are kept forever unless
rollups_dailyis set. See Analytics settings. - MongoDB URL. This is the connection string to the MongoDB database where the analytics data will be stored.
- The
rtc.engineparameter is set tomediasoupby default. This is the WebRTC engine used by OpenVidu. Depending on your requirements, you can use:mediasouppion
- Global toggle to enable debugging logs from Mediasoup. In most debugging cases, using just an asterisk ("*") here is enough, but this can be fine-tuned for specific log levels. More info .
- Default is an empty string.
- Logging level for logs generated by Mediasoup. More info .
- Valid values are:
debug,warn,error,none. - Default is
error.
- Valid values are:
- Comma-separated list of log tag names, for debugging. More info .
- Valid values are:
info,ice,dtls,rtp,srtp,rtcp,rtx,bwe,score,simulcast,svc,sctp,message. - Default is
[info, ice, rtp, rtcp, message].
- Valid values are:
Analytics settings#
Every key of the openvidu.analytics section of livekit.yaml. OpenVidu Server writes the analytics data to MongoDB, and OpenVidu Dashboard reads it from there.
| Key | Default | Description |
|---|---|---|
enabled |
false |
Write analytics data to MongoDB. Every OpenVidu installation sets it to true. |
mongo_url |
MongoDB connection string. Analytics needs MongoDB: with a database that is only compatible with it, such as Amazon DocumentDB, OpenVidu Server starts with analytics disabled and logs why. | |
database |
openvidu |
MongoDB database. |
interval |
10s |
Period of the writes to MongoDB, from 1s to 60s. |
retention.events |
7d |
Time raw events are kept. |
retention.stats |
7d |
Time the statistics of participants and tracks are kept. |
retention.tracks |
7d |
Time closed tracks and subscriptions are kept. |
retention.entities |
90d |
Time closed rooms, participants, egresses and ingresses are kept. At least 2d. |
retention.rollups_5min |
7d |
Time 5-minute rollups are kept. |
retention.rollups_hourly |
400d |
Time hourly rollups are kept. |
retention.rollups_daily |
Forever | Time daily rollups are kept. It cannot be shorter than retention.rollups_hourly. |
stats_detail |
participant in COMMUNITY, track in PRO |
participant stores one statistics document per participant and direction every 30 seconds; track, one per track and direction. |
anonymize_ip |
true |
Leave client IP addresses out. Set it to false to store them. |
store_metadata |
false |
Store room and participant metadata and attributes. |
events.store_types |
All but TRACK_PUBLISHED_UPDATE, TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY and TRACK_SUBSCRIBE_REQUESTED |
Event types kept as raw events, as a list. Every event updates rooms, participants and rollups whatever this list says. |
queue.max_events |
20000 |
Events a node keeps in memory between two writes, at least 1000. When the queue is full the new ones are dropped, and the server logs how many. |
queue.max_stats |
50000 |
The same for statistics. |
validation_action |
warn |
What MongoDB does with a document that does not match the schema of its collection: warn stores it and logs a warning, error rejects it. |
reconciler.enabled |
true |
Close the rooms, participants, egresses and ingress sessions whose end event never arrived, for example because their node crashed. |
reconciler.interval |
60s |
Period of those checks. It cannot be shorter than interval. |
reconciler.max_closures_per_run |
500 |
Entities closed in one check at most. |
migration.enabled |
true |
Migrate the analytics data of versions before 3.10 at the first start. |
migration.rate |
2000 |
Documents migrated per second at most; 0 removes the limit. |
migration.batch_size |
500 |
Documents migrated in each write, from 1 to 10000. |
expiration |
Deprecated. Sets retention.events and retention.stats when neither is set. |
|
fixer_interval |
Deprecated. Sets reconciler.interval when it is not set. |
Durations are written as Go durations (10s, 168h), as whole days (7d, 400d) or as both (1d12h). A retention is at least 1h and at most 231−1 seconds (about 68 years), the limit of a MongoDB TTL index. OpenVidu Server does not start with an invalid value and names the key in its log.
Every key can also be set with an environment variable of OpenVidu Server named LIVEKIT_OPENVIDU_ANALYTICS_ plus the key in upper case, with _ instead of .; for example, LIVEKIT_OPENVIDU_ANALYTICS_RETENTION_EVENTS=30d.
Other Services Configuration#
OpenVidu comes with other services configured to work in the deployment. These are the configuration files for each service.
Info
The links below point to the official documentation for each service, matching the exact versions used in this specific OpenVidu release (3.10.0). To see the version number of each service, refer to the "Version table" of release 3.10.0 on the Releases page.
| Service | Description | Reference documentation |
|---|---|---|
| OpenVidu Server | Manage Rooms and Media Streams. | |
| Egress Service | Exports video from OpenVidu rooms for recording or streaming. | LiveKit Egress Config |
| Ingress Service | Imports video from other sources into OpenVidu rooms. | LiveKit Ingress Config |
| Caddy Server | Serves OpenVidu services and handles HTTPS. | Caddy JSON Structure |
| Grafana Service | Used for visualizing monitoring data. | Grafana Config |
| Mimir Service | Service for long-term Prometheus storage | Mimir Config |
| Loki Service | Used for log aggregation. | Loki Config |
| Prometheus Service | Used for monitoring. | Prometheus Config |
| Alloy Service | Collects logs and sends them to Loki. | Alloy Config |