Skip to navigation

VIOS Microservices

View as Markdown

Overview

Video IO & Storage (VIOS) Microservice provides an efficient way to manage cameras and videos, especially in scenarios where AI is the main functionality.

VIOS features hardware-accelerated video decoding, streaming, and storage. VIOS is easy to integrate with your video analytics application, through its REST API. It also includes a reference web UI for efficient management of your devices.

Key Features

VIOS auto-discovers ONVIF-S compliant IP cameras, and allows use of custom IP stream as video source. It then allows for video to be stored, played back at various speeds, or paused at any frame:

  1. Support ONVIF S-profile devices, ONVIF profile-T for H.265 encoding devices, ONVIF discovery with control and data flow.
  2. Manage devices manually by IP address and/or RTSP URLs.
  3. Video storage and recording with aging policy.
  4. RTSP proxy URL in pass-through and multi-cast mode.
  5. Media streaming using hardware-accelerated WebRTC and DASH protocols for live and recorded videos.
  6. Recorded playback supported with 2x,4x,8x FF, overlay & snapshot support.
  7. Supports both H.264 and H.265 video formats.
  8. Video wall feature which provides composite view of multiple webrtc streams.
  9. Provide REST APIs to write client application to control and configure VIOS.
  10. Support Redis/Kafka message bus to publish device add/remove events.
  11. Support outbound HTTP webhooks to deliver the same device events to external services (refer to Notification Config).
  12. Prometheus/Grafana integration for publishing VIOS statistics.
  13. Derive insights about the current status of VIOS.
  14. Cloud native. Deploy as a container.
  15. Supports milestone adaptor for fetching data from milestone VMS.

We included binary for a web-based client that allows to view live and recorded content, as well as to modify camera and stream configuration (Web-UI Viewer).

VIOS Overview

VIOS Modular Diagram

VIOS is built as a collection of cooperating microservices that together provide a unified platform for video streaming and processing. It integrates RTSP proxying, WebRTC and DASH streaming, recording, and storage into a single solution capable of real-time video ingestion, low-latency playback, and long-term archival.

The following diagram illustrates the high-level architecture of VIOS. Each service is responsible for a specific aspect of the system, and the list that follows describes the role of each component.

  • Sensor Management Service: A comprehensive system designed to facilitate the administration and control of sensor-related functionalities. It handles sensor discovery, configuration, and stream management through dedicated sensor services and adaptors, and provides efficient management of sensors across the network. This service exclusively owns the sensor REST API surface — Sensor Management API (prefixed with /v1/sensor).
  • Unified Stream Processing MS: A unified microservice that consolidates RTSP proxying, live and replay (recorded) WebRTC/DASH streaming, recording, and media storage into a single service. It handles video stream transformation, file ingestion, content download from ingested files, routing, and protocol conversion for real-time video ingestion, low-latency playback, and long-term archival. It exposes every stream- and media-related REST API in VIOS — Proxy Stream Management API (/v1/proxy), Live Stream Management API (/v1/live), Record Stream Management API (/v1/record), Replay Stream Management API (/v1/replay), and Storage Management API (/v1/storage) — covering the entire VIOS API surface except the sensor APIs, which are owned by the Sensor Management Service.
  • Storage Layer: Multi-tier storage system supporting Redis for caching, PostgreSQL for metadata, and local filesystem object storage for video content.
  • Client Interfaces: Support for various client types including web applications, perception services, computer vision applications, and the VSS UI.
  • Ingress: A service that handles the ingress of the HTTP requests to the VIOS microservices.
  • SDR Agent: A service that handles the workload distribution and service discovery for the scalable Unified Stream Processing MS instances.
  • Envoy: A service that handles the Envoy proxy for load balancing and routing requests to the scalable Unified Stream Processing MS instances.

VIOS Modular Diagram

VIOS MS Horizontal Scaling

The Unified Stream Processing MS is designed to scale horizontally to handle increased workloads and provide high availability. The Sensor Management Service runs as a single instance and is not part of the horizontal-scaling fleet.

Horizontal Scaling Capabilities:

  • Multiple Stream Processing instances: Deploy multiple Unified Stream Processing MS replicas behind the SDR Agent and Envoy proxy to distribute the workload.
  • Load Distribution: Camera streams and video processing are distributed across the Stream Processing MS replicas.
  • High Availability: Continuous operation is preserved even if individual Stream Processing MS instances fail.
  • Shared Storage: All Stream Processing MS replicas access the same shared storage backend (local filesystem).
  • Centralized Database: A single PostgreSQL database provides centralized configuration and metadata management shared by all Stream Processing MS replicas and the Sensor Management Service.

The diagram below illustrates the horizontal scaling architecture:

VIOS MS Horizontal Scaling Architecture

VIOS Microservices

The following table lists the microservices and containers that make up the VIOS Docker Compose deployment.

Microservice NameContainer NameFunctionality
Postgresvss-vios-postgresCentralized PostgreSQL database for sensor configurations, stream metadata, and system state shared across all VIOS services.
Sensorvss-vios-sensorSensor Management Service: handles camera/sensor discovery, registration, configuration, and stream monitoring. Exposes the Sensor Management API (/v1/sensor).
Unified Stream Processing MSvss-vios-streamprocessingUnified Stream Processing MS that consolidates RTSP proxying, live and replay WebRTC streaming, recording, and media storage. Exposes the Proxy (/v1/proxy), Live (/v1/live), Record (/v1/record), Replay (/v1/replay), and Storage (/v1/storage) APIs.
Ingress (NGINX)vss-vios-ingressNGINX reverse proxy that terminates external HTTP/HTTPS traffic and routes requests to the appropriate VIOS microservices.
SDRvss-vios-sdrSensor Distribution and Routing agent. Handles workload distribution and service discovery for the scalable Unified Stream Processing MS instances.
Envoy Proxyvss-vios-envoyEnvoy proxy that provides load balancing and routing across the scalable Unified Stream Processing MS instances registered with SDR.

Notes:

1) The container names shown above apply to the Docker Compose deployment of VIOS.

2) The Sensor and Unified Stream Processing MS share a single container name across all four deployment profile variants.

Storage Calculation

The required storage can be calculated using the following formula:

Storage (GB) = (Bitrate (Mbps) × Duration (seconds)) / 8 / 1024

Example Calculation for 1 stream at 8 Mbps for 1 day:

  • Bitrate: 8 Mbps
  • Duration: 1 day = 24 hours × 60 minutes × 60 seconds = 86,400 seconds
  • Storage = (8 × 86,400) / 8 / 1024 = 84.375 GB per stream per day

General Formula:

Storage (GB/day) = Bitrate (Mbps) × 10.546875

For multiple streams, multiply by the stream count:

Total Storage (GB) = Number of Streams × Bitrate (Mbps) × Days × 10.546875

For operational planning, actual storage requirements may vary based on encoding efficiency, variable bitrate settings etc. So add a buffer of ~10–20% to the calculated storage requirements.

To configure required storage, set the total_video_storage_size_MB parameter in the vst_storage.json file, refer to Storage Config.

Cameras Tested in VIOS

ManufacturerModel
ANNKEC500
ANNKENC400
AMCRESTIP8M-2493EW
AMCRESTIP8M-T2499E
AMCRESTIP8M-2496E
AMCRESTIP2M-841W-V3
AMCRESTIP4M-1026E
AMCRESTIP5M-T1179E
AXISP3301
BOSCHFlexidome_IP_4000I
CP PLUSCP-UNC-TB41L3-MDS-0360
JIDETECHIPC-3C1-5MP
HANWHAQND-6012R
HANWHAQND-6072R
QSEEQTN8083B
QSEEQTN8098B-N
SONYSNV-VB640
SONYSNC-VB770
SONYSNC-XM632
SONYSNC-EM630
HIKVISIONDS-2CD2043G0-I
HIKVISIONDS-2CD2T43G0-I5
HIKVISIONDS-2CD2045FWD-I
HIKVISIONDS-2CD3121G0-I
HIKVISIONDS-2CD3023G0E-I

Usage & Configuration

Reference Web App

Default URL: http://<IP_address>:30888/vst/

VIOS deployment can be verified using a web-based application binary. Please note: at this point the web-based application is only available for Chrome browser running on Linux, Windows or macOS. The UI can be accessed on any viewing machine on local subnet. The following instructions refer to same host. Substitute ‘localhost’ with IP address of your viewing machine.

  1. Launch Chrome browser
  2. In the address bar enter http://<IP_address>:30888/vst/

The VIOS web-based UI allows for seamless and hassle-free discovery of most ONVIF-S compliant cameras.

Although a relatively short list of models are guaranteed to work with VIOS release, any fully ONVIF-S compliant camera you might already have purchased should work with this release as well. Contact us if your cameras are not working.

VIOS will auto-discover, and attempt to communicate with any ONVIF-S camera attached downstream of the host. Once discovered, VIOS will attempt to communicate with the camera, to retrieve its settings and parameters, and populate the web UI.

There is a good chance that your camera has been secured by a custom username and password prior to the first VIOS use. In such a case (even though the camera would be discovered) VIOS might not be able to communicate with it immediately.

This short guide will explain how to ensure that you can see live and recorded content from new or previously used ONVIF-S cameras.

Dashboard

Open a web browser (Chrome is required for best video streaming experience) at http://<IP_address>:30888/vst/. Enter admin for username and password if prompted otherwise ignore it. The following page will be displayed upon successful login:

VIOS WebUI Login

As the page opens, it shows overall health of VIOS, information about VIOS Devices, Sensors discovered, Record Size. Also, it shows the vital information about sensors such as Record Status, Sensor Status etc.,

User options like Home, Profile, Settings, etc., are not implemented in current release.

Sensor management

Cameras that had been discovered will be listed. If VIOS discovered the camera, but was not able to communicate with it, the camera status indicates a lock icon. If the lock icon appears, navigate to ‘Sensor Management’ tab, and click on ‘Sensor Credentials’ section as displayed in the following image:

VIOS WebUI Login

  • It should now be possible to stream from all the cameras attached to VIOS.

  • If you do not remember your camera’s custom username or password, you might need to perform a hardware factory reset for that camera, re-start VIOS, and consult that camera’s guide to set its username and password again.

  • VIOS is now aware of usernames and passwords for all cameras, and is ready to stream live video from the auto-discovered ONVIF-S sources.

Add sensors
  • Add Cameras/Streams from VIOS webUI: To manually add camera into VIOS, navigate to Sensor Management tab, and go to Add device manually option. To Add ONVIF compliant camera using IP option click on IP button then provide ip address, username, password fields. Remaining fields are optional. If you want to add directly RTSP url, click on RTSP option and provide RTSP url, username, password.
  • Add Cameras/Streams from NVStreamer: To add streams from NVStreamer, VIOS provides a mechanism with the help of RTSP Stream Config file. You can provide the NVStreamer endpoint.
  • Add Cameras/Streams using RTSP URLs: To add streams from RTSP URLs, VIOS provides a mechanism with the help of RTSP Stream Config file. You can provide the RTSP URL, username, password.

You can see a screen as displayed in the following image:

VIOS WebUI camera add.

Remove sensors

To remove the sensor from VIOS, navigate to Sensor Management tab, and go to Remove sensor option. Select the sensor from dropdown list and click on Remove button as displayed in the following image:

VIOS WebUI camera remove.

Live streams

Navigate back to the Live Streams tab, click on the center drop-down list, and select the first camera on the list. A black rectangle will appear on the UI, and the camera’s IP address will be displayed on top of the drop-down list. Repeat the same with up to max cameras supported. You should see a screen similar to the following:

VIOS WebUI camera stream.

  • It can take a few seconds for the VIOS to commence live streaming. If you see a constantly revolving crescent for a prolonged amount of time - please try to restart the browser.
  • VIOS has been tested extensively with Chrome and we are aware of existing problems while streaming through alternative browsers.

Recording management

Setting

Now that you are able to stream live video, it is time to try out recording. Navigate to the Record Setting tab, and select camera from drop down list:

All recordings will be saved to your local storage; older recordings will be overwritten with newer ones automatically should VIOS run out of the disk space.

VIOS WebUI camera record setting.

Playback recordings

Now that you are able to record video, it is time to try out recorded playback feature of VIOS. To playback the recordings, navigate to Recorded Streams tab and select a video stream.

Some options:

  • It provides options such as pause, fast playback 2x,4x,8x etc.
  • Snapshot option to take screenshot of currently playing frame.
  • Other options like overlay, time-range playback, quality selection etc.

VIOS Recorded Playback

Playback overlay on Live and Recorded Streams

Now that you are able to playback recorded video, it is time to try out Overlay Feature of VIOS in Live and Recorded Streams. To enable bounding boxes on the video, navigate to Recorded Streams tab or Live Streams tab and select a video stream then select overlay option from the video player and enable it.

Some options:

  • Analytics Overlay Settings tab is used to enable / disable Bounding Boxes, Debug Mode
  • Proximity Settings tab is used to set the proximity classes and entrant classes of the objects, along with the area factor and proximity animation.
  • Color Settings tab is used to set the color of the bounding boxes for different object classes also the proximity bubble colors.

VIOS Overlay Settings

VIOS Overlay Settings

VIOS Overlay Live Video

Display Object IDs in Warehouse Profiles

Enable the video player’s analytics overlay, then open Analytics Overlay Settings. Object ID display depends on the warehouse profile:

Warehouse ProfileObject ID Display Settings
2D and 2D with AgentsEnable Show Bounding Boxes and Show Object ID under Object ID Display. Debug Mode is optional and adds diagnostic overlays.
3D and MV3DTObject IDs are displayed by default when Debug Mode is enabled.

Click Save Settings to apply the changes. In the 2D settings, leave Specific Object IDs empty to show all objects, or enter a comma-separated list to filter the displayed objects.

VST Analytics Overlay Settings with Show Bounding Boxes and Show Object ID enabled for a warehouse 2D profile

Playback overlay on Video Wall

Now that you are able to enable Overlay Feature of VIOS in Live and Recorded Streams, it is time to extend the Overlay Feature of VIOS in Video Wall. To enable bounding boxes on the video, navigate to Video Wall tab and select streams from the dropdown list and enable overlay option from the video player and enable it.

For warehouse object ID display settings, see Display Object IDs in Warehouse Profiles.

Some options:

  • Analytics Overlay Settings tab is used to enable / disable Bounding Boxes, Debug Mode, Include Floor Plan and setting the thickness of the bounding boxes.
  • Proximity Settings tab is used to set the proximity classes and entrant classes of the objects, along with the area factor and proximity animation.
  • Color Settings tab is used to set the color of the bounding boxes for different object classes also the proximity bubble colors.

Features:

  • Proximity Alert Bubble : a proximity bubble is drawn around the object of Proximity class, the color of the bubble changes according to the distance of the object from the Entrant class object. The default color of the bubble is green marking as safe zone and turns orange when the object is in the close proximity of the threshold and turns red when the object is in the danger zone.
  • Proximity Alert Line : when an object is in the close proximity of the threshold or in the danger zone, a proximity line with approximate distance is drawn between the object of Proximity class, and the object of Entrant class.

VIOS Overlay Settings

VIOS Overlay Settings

Proximity Alert Bubble and Lines in Video Wall

VIOS Overlay Live Video

Proximity Alert Bubble and Line in Live Stream

VIOS Overlay Live Video

Floor Plan in Video Wall

To display a floor plan in the Video Wall, enable Include Floor Plan in the Analytics Overlay Settings. Set the floor plan image path in vst_config.json using the floor_map_file_path field. The supported image formats are PNG, JPEG, and SVG.

VIOS Overlay Floor Plan in Video Wall

Upload media

To upload media, navigate to Upload Media option in Media Management tab. You can drag and drop files or choose files to be uploaded with several optional configurations:

  • Transcode: Enable video transcoding if needed

  • Metadata Info: Add metadata information such as:

    • Sensor ID
    • Timestamp
    • Event Info
    • Stream Name
    • Tag
    • Checksum
  • Enable multi-part upload: Enable this option for large file uploads

VIOS WebUI Upload Media

Configuring upload file size limit

The maximum upload file size in VIOS is controlled by two settings. The effective upload limit is the minimum of these two values, so both must be configured to allow larger uploads.

  1. Stream-processor NGINX configuration (client_max_body_size):

    Controls the maximum request body size accepted by the NGINX reverse proxy in the stream-processor. The default value is 500 MB. To allow larger uploads (for example, 10–20 GB), increase this value before deployment:

    client_max_body_size 20G;
  2. VIOS configuration (nv_streamer_max_upload_file_size_MB):

    Controls the maximum file size accepted for upload in both VIOS and NVStreamer. The default value is 1000 MB. To allow larger uploads, set this parameter in the data section of the VIOS configuration file (refer to VIOS Config):

    {
    "data": {
    "nv_streamer_max_upload_file_size_MB": 10000
    }
    }

Both settings are configurable pre-deployment. Set them according to your upload size requirements. The effective upload limit is determined by whichever value is lower.

Download recordings

To download recorded video, select Download videos option in Media Management tab. Then choose the device and corresponding timeline.

  • In case video download fails then you need to redeploy the VIOS with VST_INSTALL_ADDITIONAL_PACKAGES set to true

VIOS WebUI Download Option

Storage utilization

You can examine the amount of disk space used by clicking on Dashboard tab:

VIOS WebUI diskspace

Configuration

The active VIOS configuration can be viewed from the Settings tab:

VIOS WebUI VIOS Settings

Experimental

Finally, the Experimental tab will allow you to create and examine a debug package. It will come handy if you ever need to contact us. Enjoy the VIOS experience!

VIOS WebUI Experimental tab

Milestone VMS

What is Milestone VMS?

Milestone XProtect is a professional Video Management System (VMS) that provides centralized management of IP cameras and video streams. VIOS integrates with Milestone VMS through the ONVIF Bridge, enabling seamless access to cameras managed by Milestone.

Using Milestone VMS with VIOS

VIOS uses the Open Network Video Interface Forum (ONVIF) Bridge and AI Bridge from Milestone VMS to provide the following capabilities:

  • Retrieve RTSP live and Video on Demand (VOD) RTSP streams from Milestone VMS
  • Play live and VOD video streams
  • Download Video clips
  • Capture snapshots (download pictures)

Milestone VMS Configuration

To configure VIOS in MMS (Milestone Management System) mode, you need to:

Step 1: Adaptor Configuration

Add the following adaptor configuration to enable Milestone VMS integration (refer to Adaptor Config for complete configuration details):

{
"enabled": true,
"id": "<unique-adaptor-id>",
"name": "milestone_onvif",
"type": "mms",
"ip": "<milestone-server-ip>",
"user": "<onvif-username>",
"password": "<onvif-password>",
"port": "580",
"need_rtsp_server": true,
"need_stream_monitoring": true,
"need_recording": true,
"need_storage_management": true,
"control_adaptor_lib_path": "prebuilts/arch/onvif_client.so",
"media_adaptor_lib_path": "prebuilts/arch/vms_media.so"
}

Configuration Parameters:

  • enabled: Set to true to enable the adaptor
  • id: Unique identifier for the adaptor (UUID format)
  • name: Name of the adaptor (e.g., "milestone_onvif")
  • type: Set to "mms" for Milestone VMS integration
  • ip: IP address of the Milestone XProtect server
  • user: ONVIF username configured in Milestone
  • password: ONVIF password for authentication
  • port: Port number for ONVIF communication (typically "580")
  • need_rtsp_server: Enable RTSP server for video streaming
  • need_stream_monitoring: Enable stream health monitoring
  • need_recording: Enable recording capabilities
  • need_storage_management: Enable storage management features
  • control_adaptor_lib_path: Path to the ONVIF client control library
  • media_adaptor_lib_path: Path to the VMS media library

Environment Variables for Deployments Using Milestone VMS

For deployments using Milestone VMS, set the following environment variables:

VST_ADAPTOR=milestone_onvif
NGINX_MODE=mms
ADAPTOR_IP="<milestone-server-ip>"
ADAPTOR_USER="<onvif-username>"
ADAPTOR_PASSWORD="<onvif-password>"
AI_BRIDGE_ENDPOINT="<ai-bridge-endpoint-url>"

Step 2: AI Bridge Endpoint Configuration

Add the AI Bridge endpoint to the network section of your VIOS configuration (refer to VIOS Config for complete configuration details):

{
"ai_bridge_endpoint": "http://<ai-bridge-domain>:<port>/api/bridge/graphql"
}

Step 3: (Optional) Add AI Bridge Domain to Hosts File

If the AI Bridge domain is not resolvable via DNS, add an entry to the /etc/hosts file:

<ai-bridge-ip> <ai-bridge-domain>

Once configured, VIOS will connect to Milestone VMS through the ONVIF Bridge and provide access to all cameras and recordings managed by the VMS.

Remote Access Options

Installation of STUN / TURN Server

Installation and configuration of these servers are mandatory for WebRTC streaming. Below are the NAT type requirements for STUN/TURN:

CaseNAT typesSTUN/TURN requirement
1Symmetric to SymmetricTURN
2Symmetric to Port-Restricted ConeTURN
3Symmetric to Address-Restricted ConeSTUN (but probably not reliable)
4Symmetric to Full ConeSTUN
5Everything elseSTUN

Depending on your network type, you may choose to install STUN and/or TURN servers:

  • You can set the STUN server using stunurl config parameter.
  • You can set the TURN server using turnurl config parameter.

VIOS web UI is verified with coturn server. To install, run the following command:

sudo apt-get install coturn

TURN server is not mandatory, this is required only if Client and Server are in different networks.

VIOS Config

Following table describes the parameters in VIOS config file, which should be provided as command-line option deploying helm chart:

VIOS config file

KeyDescriptionTypical Value
networkSection to define all Network related parameters
server_domain_nameServer domain namevst-service
stunurl_listSTUN server address[“stun.l.google.com:19302”]
static_turnurl_listTURN server address[]
coturn_turnurl_list_with_secretCoturn Turnurl list with secret[]
use_coturn_auth_secretEnable/Disable Coturn Auth secretFALSE
use_twilio_stun_turnEnable/Disable TwilioFALSE
twilio_account_sidTwilio Account Sid'""'
rx_socket_buffer_sizeRX socket buffer size1000000
tx_socket_buffer_sizeTX socket buffer size1000000
twilio_auth_tokenAuth token for Twilio'""'
ntp_serversNTP server address[“time.google.com”]
use_sensor_ntp_timeIf true then forward camera/nvstreamer ntp time in SR reports to the clients. Otherwise provide current ntp time in SR report.TRUE
max_webrtc_out_connectionsMax number of webrtc output connections at a given time8
webservice_access_control_listAn Access Control List allows restrictions to be put on the list of IP addresses which have access to the web server. The ACL is a comma separated list of IP subnets, where each subnet is pre-pended by either a - or a + sign. A plus sign means allow, where a minus sign means deny. If a subnet mask is omitted, such as -1.2.3.4, this means to deny only that single IP address.+10.42.0.0/32
rtsp_server_portUser given rtsp port number8554
rtsp_preferred_network_ifacePreferred network interface for RTSP streamingeth1
rtsp_streaming_over_tcpEnable / Disable RTSP Streaming over TCPFALSE
rtsp_server_reclamation_client_timeout_secTimeout for RTSP Server reclamation client10
stream_monitor_interval_secsStream Monitor interval in seconds2
webrtc_latency_msLatency for webrtc in milliseconds500
enable_frame_dropEnable/Disable frame dropTRUE
webrtc_video_quality_tunningwebRTC video quality tuning{"resolution_2160":{"bitrate_start":20000,"bitrate_range":[15000,25000],"qp_range_I":[0,30],"qp_range_P":[0,51]},"resolution_1440":{"bitrate_start":10000,"bitrate_range":[8000,15000],"qp_range_I":[10,30],"qp_range_P":[10,30]},"resolution_1080":{"bitrate_start":5000,"bitrate_range":[3000,8000],"qp_range_I":[10,30],"qp_range_P":[10,30]},"resolution_720":{"bitrate_start":3000,"bitrate_range":[2000,5000],"qp_range_I":[10,30],"qp_range_P":[10,30]},"resolution_480":{"bitrate_start":1000,"bitrate_range":[800,3000],"qp_range_I":[10,30],"qp_range_P":[10,30]}}
webrtc_peer_conn_timeout_secTimeout duration in seconds for peer connection establishment10
remote_vst_addressCloud VIOS Address13.0.0.1:30000
webrtc_port_rangeMin and Max Port Range for WebRTC''{"min": 0, "max": 0}''
enable_websocket_pingpongEnable/Disable websocket ping pong messagesFALSE
websocket_keep_alive_msTimeout for websocket to keep alive5000
ai_bridge_endpointAI Bridge endpoint URL''http://<ai-bridge-domain>:<port>/api/bridge/graphql''
dashSection to define all DASH streaming parameters, nested under network
max_live_sessionsMaximum number of concurrent DASH sessions, live and replay combined8
segment_duration_secTarget media segment length in seconds, which is also the manifest update period, i.e. how often a player re-fetches the MPD2
playlist_lengthNumber of entries the muxer keeps in its playlist8
idle_timeout_secInactivity timeout after which a session is closed and its segments deleted. Refreshed by every manifest or segment request.45
output_rootOutput directory for manifests and segments, relative to the webrootdash
bitrate_kbpsEncoder target bitrate. 0 derives it from picture height (2000/5000/10000/20000 kbps for below 1080p/1080p/1440p/2160p).0
always_encodeEncode every session instead of republishing the source bitstream, so VIOS controls the segment length rather than inheriting the camera’s keyframe intervalTRUE
onvifSection to define all ONVIF related parameters
device_discovery_timeout_secsDevice discovery timeout to receive probe match message from device10
onvif_request_timeout_secsTimeout to receive ONVIF command response from device10
device_discovery_freq_secsdevice discovery frequency in secs15
device_discovery_interfacesNetwork interface for device discovery e.g eth0, eth1[]
max_devices_supportedLimiting maximum number of devices16
onvif_sensor_time_sync_interval_secsInterval in seconds for syncing time between the ONVIF sensor and VIOS60
onvif_sensor_time_sync_compensation_msCompensation in milliseconds applied to time-sync requests with the ONVIF sensor20
dataSection to define all VIOS data related parameters
storage_config_filePath to storage configuration JSON file./configs/vst_storage.json
storage_threshold_percentage% value of storage occupancy when aging policy triggers95
storage_monitoring_frequency_secsMonitor storage usage with frequency in seconds2
supported_video_codecsVideo codec supported for video recording[“h264”,“h265”]
supported_audio_codecsAudio codec supported for audio recording and decode[“pcmu”,“pcma”,“mpeg4-generic”]
nv_streamer_max_upload_file_size_MBMaximum file upload size in MB. Applicable for file upload in both VIOS and NVStreamer.1000
max_video_download_size_MBLimiting the maximum video download size1000
always_recordingEnable/Disable always ON recordingFALSE
use_software_pathEnable allows processing on CPU otherwise on GPUFALSE
webrtc_sender_qualitywebrtc input qualitypass_through
enable_rtsp_server_sei_metadataEnable SEI support for rtsp serverTRUE
enable_proxy_server_sei_metadataEnable SEI support for proxy serverTRUE
gpu_indicesGPU indices[]
webrtc_out_enable_insert_sps_ppswebRTC Out Enable / Disable SPS PPS insertionTRUE
webrtc_out_set_iframe_intervalwebRTC Out set I-Frame Interval30
webrtc_out_set_idr_intervalwebRTC Out set IDR Interval256
webrtc_out_min_drc_intervalwebRTC Out minimum interval between DRC requests5
device_nameDevice Name for edge VIOSVST_EDGE
device_locationDevice Location for edge VIOS6th_Floor
enable_dec_low_latency_modeEnable/Disable low latency in decoderFALSE
use_centralize_local_dbEnable/Disable Centralized local dbTRUE
restore_rtsp_streams_on_startupWhen enabled, on container startup previously configured RTSP proxy streams are re-read from the central database and re-registered on the RTSP server, so that previously added streams survive restarts.TRUE
max_network_db_connectionsMaximum number of connections to the centralized network database10
default_file_expiry_minutesDefault file expiry time in minutes (e.g., 60 = 1 hour)60
download_files_timeout_secsTimeout in seconds for video download operations120
picture_api_timeout_secsTimeout in seconds for picture (snapshot) API operations20
debugSection to define all Debug related parameters
enable_perf_loggingEnable/Disable perf loggingTRUE
enable_qos_monitoringEnable/Disable QOS loggingTRUE
qos_logfile_pathQOS log file path/root/vst_release/webroot/log/
qos_data_capture_interval_secQOS log capture interval1
qos_data_publish_interval_secQOS log publish interval5
enable_gst_debug_probesEnable/Disable gstreamer probesTRUE
enable_prometheusEnable/Disable stats update on prometheusFALSE
prometheus_portprometheus port number8080
enable_highlighting_logsEnable certain logs highlighting by special colorsTRUE
enable_debug_apisEnable/Disable Debug apisTRUE
dump_webrtc_input_statsEnable/Disable webRTC IN statsFALSE
enable_frameid_in_webrtc_streamEnable/Disable frameid in webRTC StreamFALSE
enable_network_bandwidth_notificationEnable/Disable network bandwidth notificationFALSE
enable_latency_loggingEnable/Disable latency loggingFALSE
update_record_details_in_secUpdate record details in seconds70
overlaySection to define all overlay related parameters
video_metadata_serverServer to fetch Metadata from10.0.0.1:9200/mdx-raw*
video_metadata_query_batch_size_num_framesSize of metadata to fetch300
video_metadata_query_max_threadsMaximum concurrent Elasticsearch slice queries used to prefetch overlay metadata for downloads (clamped from 1 to 10)2
video_metadata_wait_timeout_msPer-frame wait for in-flight overlay metadata during video downloads, in milliseconds1000
use_video_metadata_protobufUse Protobuf spec for metadata parsingTRUE
enable_gem_drawingEnable/Disable GEM drawingTRUE
calibration_file_pathPath to calibration file/home/vst/vst_release/configs/calibration.json
calibration_modeCalibration modesynthetic
use_camera_groupsEnable/Disable camera groupsTRUE
enable_recenteringEnable/Disable recenteringFALSE
floor_map_file_pathPath to floor map file/home/vst/vst_release/configs/Top.png
3d_overlay_sensor_name3D overlay sensor namebev-sensor-1
bbox_tolerance_msBounding box tolerance in milliseconds0
analytic_server_addressAnalytic server address
overlay_color_codeOverlay color code
halo_safety_udp_portUDP port for halo safety communication-1
halo_safety_proximity_classProximity class for halo safety detectionForklift
halo_safety_active_textText displayed in halo safety active modeStandard Mode
halo_safety_active_text_colorText color in halo safety active modeblack
halo_safety_active_text_bg_colorBackground color for text in halo safety active modewhite
halo_safety_inactive_textText displayed in halo safety inactive modeEfficient Mode
halo_safety_inactive_text_colorText color in halo safety inactive modegreen
halo_safety_inactive_text_bg_colorBackground color for text in halo safety inactive modewhite
halo_safety_text_sizeText size for halo safety display16
overlay_text_font_typeFont type used for overlay text renderingDejaVuSansMono.ttf
enable_overlay_skip_frameEnable/Disable frame skipping in the overlay rendering pipelineFALSE
securitySection to define all security related parameters
use_httpsEnable/Disable httpsFALSE
use_rtsp_authenticationEnable/Disable RTSP proxy stream authenticationTRUE
use_http_digest_authenticationEnable/Disable HTTP user authenticationTRUE
nv_org_idNGC ORG IDngc_org_id
nv_ngc_keyNGC Keyngc_key
observabilitySection to define all observability / telemetry parameters
enable_telemetryEnable/Disable OpenTelemetry tracingFALSE
otlp_endpointOTLP endpoint URL for OpenTelemetry trace exporthttp://localhost:4318/v1/traces

When the Unified Stream Processing MS is scaled to multiple replicas, set restore_rtsp_streams_on_startup to false. Otherwise, on container restart or redeploy every replica will independently re-read the previously configured RTSP proxy streams from the central database and re-register them on the RTSP server, resulting in duplicate registrations and conflicts across replicas. Leave it set to true only when running a single Stream Processing replica.

Notification Config

Following table describes the parameters in VIOS notification config file (configs/notification_config.json):

VIOS notification config file

KeyDescriptionTypical Value
message_brokerSection to define all message broker notification parameters
enable_notificationEnable notification of device events on message brokerFALSE
use_message_brokerMessage Broker to use (Kafka/Redis)kafka
message_broker_topicTopic/event used in message brokervst.event
enable_notification_consumerEnable/Disable notification consumerTRUE
use_message_broker_consumerMessage Broker to use (Kafka/Redis)kafka
message_broker_topic_consumerTopic/event used in message brokermdx-bev
message_broker_payload_keyPayload key used in message brokersensor.id
redis_server_env_varRedis server address:portREDIS_SVC_SERVICE_HOST:6379
kafka_server_addressKafka server address and port10.0.0.1:9092
message_broker_metadata_topicTopic used by the message broker for metadata eventsmdx-raw
mqtt_broker_addressMQTT broker address used for notificationstcp://172.17.0.1:1883
webhooksSection to define all outbound HTTP webhook parameters
enabledMaster switch for the webhook notifier. When FALSE, no webhook is loaded or delivered, regardless of the per-webhook enabled flags.FALSE
itemsArray of webhook definitions. Each entry is described in the table below.[]

Webhooks

Webhooks deliver the same device notifications VIOS publishes on the message broker to arbitrary HTTP endpoints, so an external service can react to camera events without subscribing to Redis, Kafka, or MQTT.

The two delivery paths are independent. The message broker is enabled by message_broker.enable_notification and webhooks by webhooks.enabled, and either, both, or neither may be active. Each path keeps its own queue and worker thread, so a slow or unreachable webhook endpoint does not delay publishing on the broker.

When an event is raised, it is matched against every entry in webhooks.items[]. An entry matches when its trigger key names the event’s alert type and the configured value matches the corresponding event field: "camera_status_change": "camera_add" fires only on camera-add events. Every matching entry then delivers to all of the receivers in its request[] array, so one event can reach several endpoints. A receiver’s camera_type list narrows this further, skipping delivery when the event’s camera type is not listed.

Delivery is asynchronous. Each receiver is attempted, retried, and given up on independently, following its own timeout_ms and retry settings, so one failing endpoint does not hold up or fail the others.

By default the request body is the notification event as JSON, with the entry’s id added as a webhook_id field. Setting user_defined_metadata merges extra fields into that body’s event.metadata object, and setting body replaces the whole body with a rendered template. Header and query parameter values may also reference event fields using the {{event.<field>}} form.

webhooks.items[] — webhook definition

KeyDescriptionTypical Value
enabledEnable/Disable this individual webhookFALSE
idUnique identifier for the webhook, used in log messageswebhook-camera-add-id
camera_status_changeCamera status event this webhook fires on. One of camera_add, camera_streaming, or camera_remove.camera_add
requestArray of receivers this webhook delivers to. Each entry is described in the table below.[]
authAuthentication block, for example {"type": "hmac-sha256", "secret": "{{secrets.signing_key}}", "header_name": "X-VIOS-Signature"}. Reserved for future use; requests are currently sent unsigned and a warning is logged when type is set.{}

webhooks.items[].request[] — receiver definition

KeyDescriptionTypical Value
urlDestination URL for the HTTP request. Required; the receiver is skipped if missing.http://127.0.0.1:18088/webhooks/camera/add
methodHTTP method used for the request. Required; the receiver is skipped if missing.POST
headersHTTP headers sent with the request. A value is either literal text or a whole-value {{event.<field>}} placeholder that copies a field from the event. Placeholders that cannot be resolved cause the header to be omitted.{"Content-Type": "application/json", "x-stream-id": "{{event.camera_id}}"}
query_paramsQuery parameters appended to the URL. Uses the same literal-or-{{event.<field>}} value form as headers.{"change": "{{event.change}}"}
camera_typeOnly deliver to this receiver when the event’s camera type is in this list. Omit the key to deliver for every camera type.[“rtsp”, “file”]
timeout_msPer-request timeout in milliseconds10000
retry.max_attemptsMaximum number of delivery attempts, including the first. Values below 1 are clamped to 1.1
retry.backoff_msDelay in milliseconds before each retry. The last entry is reused if there are more retries than entries; an empty list falls back to 1000 ms.[1000, 5000, 15000]
retry.retry_on_statusHTTP status codes that trigger a retry. An empty or absent list retries on any non-2xx response.[408, 429, 500, 502, 503, 504]
user_defined_metadataArbitrary JSON object whose keys are merged into the event.metadata object of the default notification body, not into the body’s top level. Receivers must read these fields from event.metadata. Ignored when body is set.{"model": "some_model_name", "chunk": 123}
bodyOptional custom JSON body template. When absent, the default notification body is sent. When present, the rendered template is the complete request body, so default fields and user_defined_metadata are not added. Presence, not emptiness, selects custom rendering: body: {} sends {}.{"query": {"term": {"sensor.id.keyword": "{{event.camera_id}}"}}}

Custom body templates

A body value is a JSON template. Any string whose complete value has the form {{path.to.value}} is replaced with the value at that path in the notification, for example {{alert_type}}, {{created_at}}, or {{event.camera_id}}. The original JSON type is preserved, so a number stays a number and an object stays an object. A well-formed placeholder whose path is not present in the notification renders as an empty string ("").

Braces are reserved. A string containing {{ or }} must be exactly a full-wrap placeholder. An embedded placeholder such as camera-{{event.camera_id}}, an unterminated placeholder, or braces in an object property name are configuration errors. Templates nested deeper than 32 levels are also invalid. Invalid receiver entries are skipped at config load with a log line naming the webhook and receiver; valid sibling receivers continue to load and deliver.

Example

{
"webhooks": {
"enabled": true,
"items": [
{
"enabled": true,
"id": "camera-remove-cleanup",
"camera_status_change": "camera_remove",
"request": [
{
"url": "http://elasticsearch:9200/mdx-embed/_delete_by_query",
"method": "POST",
"headers": { "Content-Type": "application/json" },
"query_params": { "conflicts": "proceed", "refresh": "true" },
"camera_type": ["rtsp", "file"],
"timeout_ms": 5000,
"retry": {
"max_attempts": 3,
"backoff_ms": [1000, 5000, 15000],
"retry_on_status": [408, 429, 500, 502, 503, 504]
},
"body": {
"query": { "term": { "sensor.id.keyword": "{{event.camera_id}}" } }
}
}
]
}
]
}
}

Adaptor Config

Following table describes the parameters in VIOS adaptor config file:

VIOS adaptor config file

KeyDescriptionTypical Value
enabledEnable/Disable the adaptortrue
idUnique identifier for the adaptor8ada39c7-5e93-43c5-ae5e-21451c8a8d1b
nameName of the adaptormilestone_onvif
typeType of the adaptor (e.g., mms)mms
ipIP address of the adaptor server<milestone-server-ip>
userUsername for adaptor authentication<onvif-username>
passwordPassword for adaptor authentication<onvif-password>
portPort number for adaptor connection580
need_rtsp_serverEnable/Disable RTSP server for this adaptortrue
need_stream_monitoringEnable/Disable stream monitoring for this adaptortrue
need_recordingEnable/Disable recording for this adaptortrue
need_storage_managementEnable/Disable storage management for this adaptortrue
control_adaptor_lib_pathPath to the control adaptor libraryprebuilts/arch/onvif_client.so
media_adaptor_lib_pathPath to the media adaptor libraryprebuilts/arch/vms_media.so

Storage Config

Following table describes the parameters in VIOS storage config file:

VIOS storage config file

KeyDescriptionTypical Value
data_pathPath where VIOS related data files are created./vst_data/
video_pathPath to root folder where recorded videos to be stored./vst_video/
total_video_storage_size_MBTotal size available to store recorded videos1000000

RTSP Stream Config

Following table describes the parameters in RTSP Streams config file:

RTSP Streams config file

KeyDescriptionTypical Value
streamsArray of streams in JSON format'""'
enabledEnable / Disable streamTRUE / FALSE
stream_inActual RTSP URL of camera'"rtsp://admin:admin@10.xx.xx.xx/h264"'
nameStream NameCamera_Front_Door
NvstreamerNvstreamer configuration
enabledEnable / Disable NvstreamerTRUE / FALSE
endpointNvstreamer endpoint'"localhost:31000"'
apiNvstreamer API'"/api/v1/sensor/streams"'
max_stream_countMaximum number of streams4
{
"streams":
[
{
"enabled":false,
"stream_in":"rtsp://admin:admin@10.xx.xx.xx/h264",
"name":"Camera_1"
},
{
"enabled":false,
"stream_in":"rtsp://admin:admin@10.xx.xx.xx/h265",
"name":"Camera_2"
}
],
"Nvstreamer":
[
{
"enabled": false,
"endpoint": "10.xx.xx.xx:31000",
"api": "/api/v1/sensor/streams",
"max_stream_count": 4
},
{
"enabled": false,
"endpoint": "10.yy.yy.yy:31000",
"api": "/api/v1/sensor/streams",
"max_stream_count": 4
}
]
}

APIs

VIOS microservice API documentation can be found in the following VIOS API references:

Components & Customization

Adaptor Architecture

Adaptor architecture

Adaptor architecture has 3 interfaces. All the interfaces can be loaded automatically by the Adaptor loader in VIOS microservices — the Sensor Management Service (for sensor discovery and control adaptors) and the Unified Stream Processing MS (for media and storage adaptors).

1) Device Discovery Interface

This adaptor interface is used to discover devices, for example, ONVIF Protocol or UPnP Protocol:

  • A new Device Discovery Adaptor should implement ISensorDiscoveryInterface Class (refer to the include/sensor_discovery_adaptor.h header file from VIOS container)
  • Implement the following methods to create and destroy adaptor object:
typedef ISensorDiscoveryInterface* createDiscoveryObject();
typedef void destroyDiscoveryObject ( ISensorDiscoveryInterface* object );

2) Device Control Interface

This adaptor interface controls the devices, for example, ONVIF Control Protocol:

  • A new Device Control Adaptor should implement ISensorControlInterface Class (refer to the include/sensor_control_adaptor.h header file from VIOS container)
  • Implement the following methods to create and destroy adaptor object:
typedef ISensorControlInterface* createObject();
typedef void destroyObject( ISensorControlInterface* object );

3) Milestone Media Interface

This adaptor interface to get media(snapshot and video recordings) from Milestone VMS using grpc protocol:

  • A new Milestone Media Adaptor should implement IMediaInterface Class (refer to the include/vms_media_interface.h header file from VIOS container)
  • Implement the following methods to get media(snapshot and video recordings) from Milestone VMS server using grpc protocol:
typedef IMediaInterface* createMediaObject();
typedef void destroyMediaObject( IMediaInterface* object );

KPI

For detailed VIOS performance benchmarks including stream profiling, per-replica stream counts, and per-request latency benchmarks, see VIOS Performance.

Troubleshooting

Common Issues

Container fails to start

Check for the following issues:

  1. Examine container logs for error messages:

    $ docker logs <container_name>
  2. Verify GPU access: Ensure NVIDIA Container Toolkit is installed and nvidia-smi command works properly

Container reboots or becomes unresponsive after long period

This issue can be resolved by configuring Docker to use the cgroupfs driver.

Configuration Steps:

  1. Add or confirm the following entry in /etc/docker/daemon.json:

    {
    "data-root": "/var/lib/docker",
    "default-address-pools": [
    {
    "base": "192.168.2.0/16",
    "size": 24
    }
    ],
    "default-runtime": "nvidia",
    "runtimes": {
    "nvidia": {
    "path": "/usr/bin/nvidia-container-runtime",
    "runtimeArgs": []
    }
    },
    "exec-opts": ["native.cgroupdriver=cgroupfs"]
    }
  2. Apply the configuration by running the following commands:

    $ sudo systemctl daemon-reload
    $ sudo systemctl restart docker
Uploads succeed but files are not visible

Check available disk space on the storage backend. Ideally, maintain more than 5% of total disk space free to avoid automatic file deletion.

VST uses the storage_threshold_percentage configuration parameter (default: 95) to control when aging policy triggers file deletion. When disk space consumption reaches the threshold (e.g., 95%), VST automatically deletes old files to maintain storage limits, which may include recently uploaded files.

Aging Policy Configuration:

The aging policy can be configured using these VST storage configuration parameters (see Storage Config):

  • storage_threshold_percentage - Disk usage percentage threshold for aging policy
  • storage_monitoring_frequency_secs - Frequency of storage monitoring checks
  • total_video_storage_size_MB - Total storage size allocated for videos

It is best to leave these values as default unless absolutely necessary to change them.

Monitor storage utilization from the Dashboard tab to track available space.

Download or video URL generation fails

The disableAudio query parameter is required in VST video download REST API calls for video download and URL generation to work properly.

Verification Steps:

  1. Check the Stream Processing MS logs when the download API is called:

    $ docker logs vss-vios-streamprocessing | grep downloadVideoFile
  2. Look for a log line similar to:

    [YYYY-MM-DDTHH:mm:ss.sssZ:THREAD_ID:video_download.cpp:184: downloadVideoFile] Params: container: mp4, transcode: full, disable_audio: true, enable_overlay: true, is_cloud_stream: 0
  3. Check disable_audio in the log output:

    • Default (ENABLE_AUDIO=false in the VSS profile .env): expect disable_audio: true.
    • Nemotron Omni / audio-aware agent (ENABLE_AUDIO=true): expect disable_audio: false.
  4. If the value does not match your profile, confirm the effective ENABLE_AUDIO value from the profile .env and any user-overrides.env file passed later to Docker Compose. Upload the video after enabling audio, then retry the operation.

VST services are up but common functionalities do not work

This issue is typically related to Redis connectivity problems.

Diagnostic Steps:

  1. Check if Redis is running properly:

    $ docker ps | grep redis
    $ docker logs <redis-container-name>
  2. If Redis keeps restarting, check for port conflicts (Redis port may be blocked due to another process):

    $ sudo netstat -tulpn | grep <redis-port>

Verify Redis Connectivity:

Check all VST container logs for successful Redis connection messages:

$ docker logs <vst-container-name> | grep redis_init

You should see a log line similar to:

[YYYY-MM-DDTHH:mm:ss.sssZ:THREAD_ID:redis_publisher.cpp:215: redis_init] Redis connect success.

Ensure all VIOS containers (vss-vios-sensor and vss-vios-streamprocessing) show successful Redis connection logs. Restart the Redis container if necessary after resolving port conflicts.

VST APIs do not respond even after waiting several minutes post-deployment

VST installs required packages during every deployment. If apt package servers are slow or experiencing high latency, package downloads may take considerable time, delaying service readiness.

The package installation script is mounted to all VST containers:

deployments/vst/scripts/user_additional_install.sh

Monitoring Installation Progress:

  1. Check container logs to monitor package installation progress:

    $ docker logs -f <vst-container-name>
  2. Verify package installation is complete by checking all VST container logs for the confirmation message:

    Installation completed successfully!
  3. Wait for this message to appear in all VST containers before attempting to use VST APIs

Configurable Installation Parameters:

If installation times out frequently, you can adjust the following parameters in user_additional_install.sh:

  • APT_UPDATE_TIMEOUT=$((60 + RANDOM % 41)) - Timeout for apt-get update (60-100 seconds)
  • PKG_INSTALL_TIMEOUT=$((100 + RANDOM % 101)) - Timeout for package installation (100-200 seconds)
  • MAX_RETRIES=3 - Maximum number of retry attempts for failed installations

Increase these values if your network or apt servers are consistently slow.

Image capture failure

The VIOS replay service has a known issue: when an RTSP stream encoded with H265 is removed from VIOS, the image capture API may not operate as intended.

Handling time drift in ONVIF cameras

Time drift in ONVIF cameras can cause incorrect timestamps on recorded video, challenges correlating frames across multiple cameras, and difficulties during incident investigation. It typically arises from the following:

  • The camera’s internal clock lacks high precision.
  • Irregular or absent synchronization with a Network Time Protocol (NTP) server.
  • Network latency or instability.
  • Power outages or firmware-related issues.

Recommended approach:

Use a dual-pronged strategy to mitigate time drift:

  1. Disable sensor NTP time in VIOS — By default, the configuration parameter use_sensor_ntp_time is set to true. In this mode, VIOS uses the SenderReport and RTP-timestamp provided by the camera and forwards the same timestamp to downstream services such as Perception.

    However, if time drift is observed between the camera clock and the system clock, set use_sensor_ntp_time to false:

    {
    "data": {
    "use_sensor_ntp_time": false
    }
    }

    When this option is disabled, VIOS ignores the SenderReport and RTP-timestamp from the camera and assigns its own system timestamp when forwarding frames to downstream services like Perception. This ensures consistent and reliable timestamps based on the system clock, helping mitigate issues caused by camera time drift.

  2. Enable NTP synchronization on the camera — Configure each ONVIF camera to synchronize with a reliable NTP server (for example, pool.ntp.org or a local enterprise NTP server). Set synchronization to occur at regular intervals (for example, every hour) to minimize drift.

    Most ONVIF cameras allow NTP setup through their web interface (typically under Admin Settings > Time Settings > NTP Configuration) or via the ONVIF Device Management API. Ensure the NTP server address is reachable by the camera and that the time zone and Daylight Saving Time settings are correct.

NTP synchronization alone may not be precise or frequent enough for time-sensitive applications. Disabling use_sensor_ntp_time remains the preferred and more reliable approach for maintaining accurate timing.

If the camera does not support NTP or cannot sync correctly:

  • Set use_sensor_ntp_time to false so that VIOS applies the system timestamp to each frame when received.
  • If feasible, replace the camera with one that fully supports NTP and ONVIF time configuration.

If the cameras are already well-synchronized and show no drift:

Developers can choose to enable the following VIOS configuration to propagate the original camera timestamp to downstream services:

{
"data": {
"use_sensor_ntp_time": true
}
}