-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcamera-control.yml
More file actions
92 lines (76 loc) · 2.53 KB
/
camera-control.yml
File metadata and controls
92 lines (76 loc) · 2.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
opencast:
# Opencast server to talk to
server: https://develop.opencast.org
# Username of an Opencast user which can authenticate itself via HTTP Basic
# authentication and which has access to the capture agents calendars.
username: admin
# Password of the specified Opencast user
password: opencast
basic_auth:
username: USER_NAME
password: CHANGE_ME
calendar:
# The frequency in which the calendar should be updated in seconds
# Default: 120
update_frequency: 120
# How far in the future should calendar items be cached
# Seconds fro when the calendar is requested.
# Default: 604800 (7 days)
cutoff: 604800
# The frequency in which to re-send the command to move the cameras to the
# desired position in seconds. This ensure the camera position is corrected
# eventually, even if there was an unexpected error.
# Default: 300
camera_update_frequency: 300
# The reset-time is used to reset the camera control status for every camera
# to "automatic" at a certain time. The time is specified in the format HH:MM.
# Default: "03:00"
reset_time: "03:00"
# Camera Configuration
# Configure the capture agents to get the calendar for and a list of cameras to
# control when a capture agent starts.
#
# The format of this configuration is:
# <capture-agent-name>:
# - url: http://url.to.camera.interface
# type: `panasonic` or `sony`
# user: username to access the API (optional)
# password: password to access the API (optional)
# preset_active: Camera preset to move to when recording (default: 1)
# preset_inactive: Camera preset to move to when not recording (default: 10)
# control: Flag for switching between automatic and manual camera control
# (default: "automatic")
camera:
test-agent:
- url: http://camera-panasonic.example.com
type: panasonic
user: admin
password: admin
test-agent-2:
- url: http://camera-2-panasonic.example.com
type: panasonic
preset_active: 1
preset_inactive: 10
- url: http://camera-sony.example.com
type: sony
metrics:
# Enable metrics to start a web server and provide OpenMetrics data
# Default: false
enabled: true
# The TCP port to listen to
# Default: 8000
port: 8000
# The address to bind to
# Default: 127.0.0.1
addr: '127.0.0.1'
# A TLS certificate for HTTPS
# Default: null
certfile: null
# A TLS certificate key for HTTPS
# Default: null
keyfile: null
# Configure the log level
# Available levels are: debug, info, warning, error, critical)
# Default: info
loglevel: info