VersaWhiteboard/config.default.yml

46 lines
1.7 KiB
YAML
Raw Normal View History

2020-05-11 16:00:45 +02:00
# Backend configuration
backend:
2020-05-11 16:00:45 +02:00
# Access token required for interacting with the server -- string (empty string for no restrictions)
accessToken: ""
2020-05-11 16:00:45 +02:00
# Enable the function to save to a webdav-server (check README for more info) -- boolean
2020-05-11 16:00:45 +02:00
enableWebdav: false
# Backend performance tweaks
performance:
2020-05-11 16:00:45 +02:00
# Whiteboard information broadcasting frequency (in Hz i.e. /s) -- number
# => diminishing this will result in more latency
whiteboardInfoBroadcastFreq: 1
2020-05-11 16:00:45 +02:00
# Frontend configuration
frontend:
2020-05-11 16:00:45 +02:00
# When a whiteboard is loaded on a client
2020-05-11 15:28:14 +02:00
onWhiteboardLoad:
2020-05-11 16:00:45 +02:00
# should an (editable) whiteboard be started in read-only mode by default -- boolean
2020-05-11 15:28:14 +02:00
setReadOnly: false
2020-05-11 16:00:45 +02:00
# should the whiteboard info be displayed by default -- boolean
2020-05-11 15:28:14 +02:00
displayInfo: false
2020-05-11 16:00:45 +02:00
# Show the smallest screen indicator ? (with dotted lines) -- boolean
showSmallestScreenIndicator: true
2020-05-11 16:00:45 +02:00
# Frontend performance tweaks
2020-05-10 23:13:55 +02:00
performance:
2020-05-11 16:00:45 +02:00
# Refresh frequency of the debug / info div (in Hz i.e. /s) -- number
refreshInfoFreq: 5
# Throttling of pointer events (except drawing related) -- array of object (one must have fromUserCount == 0)
# Throttling of events can be defined for different user count levels
# Throttling consist of skipping certain events (i.e. not broadcasting them to others)
2020-05-11 14:12:20 +02:00
pointerEventsThrottling:
2020-05-11 16:00:45 +02:00
- # User count from which the specific throttling is applied -- number
fromUserCount: 0
# Min screen distance (in pixels) below which throttling is applied
2020-05-11 14:12:20 +02:00
minDistDelta: 1
2020-05-11 16:00:45 +02:00
# Maximum frequency above which throttling is applied
2020-05-11 14:12:20 +02:00
maxFreq: 30
2020-05-11 16:00:45 +02:00
- fromUserCount: 10
minDistDelta: 5
maxFreq: 10