-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
75 lines (75 loc) · 1.53 KB
/
config.json
File metadata and controls
75 lines (75 loc) · 1.53 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
{
"http": {
"host": "0.0.0.0",
"port": 4500
},
"tls": {
"cert": "",
"key": ""
},
"turn": {
"enabled": true,
"port": 3478,
"realm": "0state.com",
"externalIp": ""
},
"media": {
"mode": "stream",
"source": "",
"recordDir": "./recordings",
"loop": true,
"video": {
"codec": "libx264",
"width": 1280,
"height": 720,
"fps": 30,
"bitrate": 2000000
},
"audio": {
"codec": "libopus",
"channels": 2,
"sampleRate": 48000,
"bitrate": 128000
},
"intelligence": {
"vision": {
"enabled": true,
"everyNthFrame": 6,
"minIntervalUsec": 200000,
"queueDepth": 8,
"normalize": {
"width": 0,
"height": 0,
"pixelFmt": ""
},
"snapshots": {
"enabled": false,
"dir": "./recordings/snapshots",
"minIntervalUsec": 1000000
},
"clips": {
"enabled": false,
"dir": "./recordings/clips",
"preRollUsec": 1000000,
"postRollUsec": 3000000
},
"motion": {
"gridWidth": 32,
"gridHeight": 18,
"warmupFrames": 2,
"threshold": 0.08,
"cooldownUsec": 500000
}
},
"speech": {
"enabled": true,
"queueDepth": 32,
"startThreshold": 0.045,
"stopThreshold": 0.02,
"minSilenceUsec": 250000,
"updateIntervalUsec": 250000
}
}
},
"webRoot": "./web/dist"
}