Skip to main content

Exporting IP Camera Information in JSON Format

Overview

This feature provides a simple and efficient way to export RTSP addresses and camera-related information from ITVDesk into a structured JSON file.

The exported JSON can be used for:

  • System integration
  • Automation scripts
  • VMS / NVR configuration
  • Third-party applications

It allows camera and stream details to be shared easily across platforms.


What Information Is Exported

The generated JSON file contains a list of camera profiles with the following data:

  • Channel name
  • Device name
  • ONVIF HTTP port
  • Profile name
  • Profile token
  • RTSP stream URI

Each camera profile is exported as a JSON object.


Example JSON Output

[
{
"channelName": "CH1 - Combined IPCam",
"deviceName": "IP_Camera_2",
"onvifHttpPort": 7000,
"profileName": "MainStream",
"profileToken": "PROFILE_2309343290",
"streamURI": "rtsp://192.168.68.100:5554/ipc2-stream1/combined1"
},
{
"channelName": "CH1 - Combined IPCam",
"deviceName": "IP_Camera_2",
"onvifHttpPort": 7000,
"profileName": "SubStream",
"profileToken": "PROFILE_2309343291",
"streamURI": "rtsp://192.168.68.100:5554/ipc2-stream2/combined1"
}
]

How to Access the JSON File

The exported JSON file is named:

CameraDetails.json

Access via HTTP

The file can be accessed over HTTP:

http://xxx.xxx.xxx:80/CameraDetails.json
tip

This allows easy integration with:

  • Web applications
  • Automation tools
  • Remote systems

Local File Location (Windows)

Starting with newer ITVDesk versions, writable data is no longer stored inside the installation directory.

C:\Users\<username>\AppData\Roaming\ITVDesk\ITVDesk

The application automatically creates and manages this directory.


Why Was This Change Made

Modern Windows versions restrict write access to Program Files.

Storing data in AppData ensures:

  • No administrator privileges required
  • Reliable file saving
  • Compatibility with Windows security policies
  • Per-user data isolation

This improves stability and overall system compatibility.


Integration Notes

  • JSON format is compatible with all major programming languages
  • File can be parsed locally or fetched via HTTP
  • Supports multiple cameras and profiles
  • Ideal for automation and configuration export

Typical Use Cases

  • Export RTSP URLs for VMS setup
  • Camera inventory management
  • Automated provisioning
  • Integration with third-party systems
  • Backup and documentation of camera configuration

Summary

The Camera Details JSON export feature provides:

  • Structured RTSP and camera metadata export
  • Easy integration via JSON
  • Secure and OS-compliant file storage
  • Improved automation and interoperability

This feature simplifies camera management and external system integration.