https://www.hikvision.com/en/support/download/sdk/
- bin/PreviewDemo.exe
- bin/DeviceConfig.json
// DeviceConfig.json
{
"displayScreen": 0,
"numberOfScreen": 3,
"Devices": [
{
"ip": "192.168.1.1",
"username": "admin",
"password": "admin",
"port": 8000,
"streamType": 0,
"channels": [1, 2, 7, 33]
},
{
"ip": "192.168.1.2",
"username": "admin",
"password": "admin",
"port": 8050,
"streamType": 0,
"channels": [1, 2, 4]
},
{
"ip": "192.168.1.3",
"username": "admin",
"password": "admin",
"port": 8000,
"streamType": 1,
"channels": [1, 3]
}
]
}
// displayScreen: support for multiple monitors, select the N monitor to display
// numberOfScreen: the number of video frames per monitor
// 1 => 1
// 2 => 2x2 total 4 videos live-view
// 3 => 3x3 total 9 videos live-view
// 4 => 4x4 total 16 videos live-view
// streamType
// 0 => main stream
// 1 => sub stream
- Please do not rename the bin directory
- Batch file for windows startup application
cd "C:\bin\"
start "" PreviewDemo.exe