-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathonvif-simulator.example.json
More file actions
96 lines (96 loc) · 2.42 KB
/
onvif-simulator.example.json
File metadata and controls
96 lines (96 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"version": 1,
"device": {
"uuid": "urn:uuid:00000000-0000-4000-8000-000000000001",
"manufacturer": "ONVIF Simulator",
"model": "SimCam-100",
"serial": "SN-0001",
"firmware": "0.1.0",
"scopes": [
"onvif://www.onvif.org/Profile/Streaming",
"onvif://www.onvif.org/name/simulator",
"onvif://www.onvif.org/hardware/virtual"
]
},
"network": {
"http_port": 8080,
"rtsp_port": 8554
},
"media": {
"profiles": [
{
"name": "main",
"token": "profile_main",
"kind": "file",
"media_file_path": "/absolute/path/to/main.mp4",
"snapshot_uri": "http://127.0.0.1:8080/snapshot/main.jpg",
"video_source_token": "VS_MAIN"
},
{
"name": "sub",
"token": "profile_sub",
"kind": "file",
"media_file_path": "/absolute/path/to/sub.mp4"
}
]
},
"auth": {
"enabled": true,
"users": [
{
"username": "admin",
"password": "admin",
"role": "Administrator"
}
],
"digest": {
"realm": "onvif-simulator",
"algorithms": ["MD5"],
"nonce_ttl": "5m"
},
"jwt": {
"enabled": false,
"algorithms": ["RS256"],
"username_claim": "sub",
"roles_claim": "roles",
"clock_skew": "30s"
}
},
"runtime": {
"discovery_mode": "Discoverable",
"hostname": "onvif-simulator",
"dns": {
"from_dhcp": false,
"search_domain": ["local"],
"dns_manual": ["8.8.8.8", "8.8.4.4"]
},
"default_gateway": {
"ipv4_address": ["192.168.1.1"]
},
"network_protocols": [
{"name": "HTTP", "enabled": true, "port": [8080]},
{"name": "RTSP", "enabled": true, "port": [8554]},
{"name": "HTTPS", "enabled": false, "port": [443]}
],
"system_date_and_time": {
"date_time_type": "NTP",
"daylight_savings": false,
"tz": "UTC"
}
},
"events": {
"max_pull_points": 10,
"subscription_timeout": "1h",
"topics": [
{"name": "tns1:VideoSource/MotionAlarm", "enabled": true},
{"name": "tns1:VideoSource/ImageTooBlurry", "enabled": true},
{"name": "tns1:VideoSource/ImageTooDark", "enabled": true},
{"name": "tns1:VideoSource/ImageTooBright", "enabled": true},
{"name": "tns1:Device/Trigger/DigitalInput", "enabled": true}
]
},
"logging": {
"level": "info",
"file": ""
}
}