The Telepresence system is configured using cfg files. The main cfg file is named telepresence.cfg and should be on the same directory where the binary is installed unless you run the app with "--config=PATH" argument. The source code contains a sample configuration file to use to get started. The sample configuration is installed after successfully building the system and running "make samples".
The configuration files are parsed using code generated with Ragel tool. A configuration file contains comments, sections and entries:
A comment starts with #
# I’m a comment
Age = 25 # I’m another comment
A section name must be enclosed by square brackets. The section name is case insensitive.
# this is a bridge section
[bridge]
An entry is a key-value-pair and must be tied to a section. Both the key and the value are case insensitive. The key must not start with a SPACE.
[product] # I’m the section
version = 1.2 # I’m an entry with floating number value
name = telepresence # I’m an entry with a string value
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。