forked from tl-open-source/tl-rtc-file
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfg.json
116 lines (116 loc) · 1.92 KB
/
cfg.json
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"version": "10.2.8",
"ws": {
"port": 8444,
"host": "ws://127.0.0.1:8444"
},
"wss": {
"port": 8444,
"host": "wss://域名 或者 wss://ip:8444"
},
"api": {
"port": 9092,
"router": {
"filter": {
"whiteDir": [],
"whiteFile": [
"router.js"
]
},
"res": {
"/": "res/dist/",
"/static": "static/"
}
}
},
"manage": {
"room": "tlrtcfile",
"password": "tlrtcfile"
},
"webrtc": {
"turn": {
"host": "turn服务地址",
"secret": "tl-rtc-file",
"username": "tl-rtc-file",
"credential": "tl-rtc-file"
},
"stun": {
"host": "stun:stun.xten.com"
},
"iceTransportPolicy": "all",
"options": {
"offerToReceiveAudio": 1,
"offerToReceiveVideo": 1
}
},
"openai": {
"apiKeys": []
},
"oss": {
"seafile": {
"repoid": "存储库id",
"host": "seafile私有网盘域名",
"username": "账号",
"password": "密码"
},
"alyun": {
"AccessKey": "",
"SecretKey": "",
"bucket": "tl-rtc-file"
},
"txyun": {
"AccessKey": "",
"SecretKey": "",
"bucket": "tl-rtc-file"
},
"qiniuyun": {
"AccessKey": "",
"SecretKey": "",
"bucket": "tl-rtc-file"
}
},
"notify": {
"open": false,
"qiwei": {
"normal": [
"填写企业微信机器人key"
],
"error": [
"填写企业微信机器人key"
]
}
},
"db": {
"open": false,
"mysql": {
"host": "host地址",
"port": 3306,
"dbName": "数据库名称",
"user": "用户名",
"password": "密码",
"other": {
"sequelize": {
"dialect": "mysql",
"host": "host地址",
"port": 3306,
"logging": false,
"pool": {
"max": 5,
"min": 0,
"acquire": 30000,
"idle": 10000
},
"timezone": "+08:00",
"define": {
"freezeTableName": true,
"underscored": true,
"charset": "utf8",
"collate": "utf8_general_ci",
"timestamps": false,
"paranoid": true
}
}
}
}
}
}