summaryrefslogtreecommitdiff
path: root/bin/conf/main.conf
blob: 08207123c85f6a2d7db9e51fa2310230d851a0a2 (plain)
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
#--------------------------------------------------------------------NETWORK
[NETWORK]
LocalIP=ens33
FwdIP=ens33

#recv bizman param, recv data from sapp
BizmanAckSmoothTime = 10
BizmanAckAccumulateTime=10
BizmanAckAccumulateNum=5
BizmanPort=22082

#sapp recv resp msg port
BizmanAckPort=22084

#msg port:recv msg
CPZMsgPort=22080
QDMsgPort=22080

#unix-domain socket file path ��send frag
UnixSocketSendSrcAddr=/home/mesasoft/frag_rssb/un_send
UnixSocketSendDestAddr=/home/mcger/un_recv;/home/audiorecognition/aufilter/un_recv
#unix-domain socket param, unit:MB us
UnixSocketSendBufSize=4
UnixSocketSendTimeout=10000
#udp socket recv port ��recv response msg
UnixSocketRecvAddr=/home/mesasoft/frag_rssb/un_recv


#udp socket:send frag
UdpSendIP=127.0.0.1;127.0.0.1;
UdpSendIPNum=2
UdpSendPort=33082;33083

#�����ڴ�����
USM_ON_FLAG=0
USM_SHM_KEY=1635151988
#USM_SHM_KEY=12346
USM_SHM_SIZE=100000
USM_READER_CNT=3
USM_SMOOTH_TIME=1000000
USM_Q_SIZE=1048576
USM_READER_PATH=/home/mcger/un_recv;/home/audiorecognition/aufilter/un_recv;/home/mesasoft/un_test/un_recv
USM_LOG_LEVEL=40
USM_LOG_PATH=./log/usm_writer0;./log/usm_writer1;./log/usm_writer2

#special media type, send windows system , sep: ";" : IP1+PORT1/PORT2 or IP2+PORT1/PORT2 
SpecialMediaWindowsIP=10.0.6.5;10.0.6.1;
SpecialMediaWindowsIPNum=2
SpecialMediaWindowsPort=44096;44098

#white list IP and PORT : IP1+PORT and IP2+PORT
WhiteListIP = 10.52.178.15;
WhiteListIPNum=1
WhiteListPort=22085
#--------------------------------------------------------------------SYSTEM
[SYSTEM]
#cpz���� 0:AV_PIC 1:voip
CPZTpye=0

ThreadNum=1
BizmanQueueMode=0
BizmanQueueMaxnum=2000000

AsmisSwitch=0

#��ǰ�˷��ͽ�Ŀȷ��
AckSwitch=0

#IVIȥ�ؿ���
IVISwitch=1

#index�ڶ��η���ʱ��
IndexQueryTime=10
#������ѯ��ʱ���ص���������
IndexQueryTimerCbMaxNum=500

#media renew time
RenewTimeMax=7200
RenewTimeMin=600
RenewTimeStep=6

#��ĿHASH��
#MediaHashSize=8
#MediaHashElemNum=16
#MediaHashExpireTime=120
MediaHashSize=65536
MediaHashElemNum=1048576
MediaHashExpireTime=300

#���ٻ�дhash�ļ�����DumpfileHashElemNum�������IJ����ļ���Ŀ
DumpfileHashSize=1024
DumpfileHashElemNum=512
DumpfileHahsExpireTime=120

#monitor service
MonitorHashSize=65536
MonitorHashElemNum=1048576
MonitorHahsExpireTime=120

MonitorFileSwitch=0
MonitorFileRootDir=/home/yspdata/qd_monitor/
MonitorFileDay=1

#special media type, send windows system
ForwardSpecialMediaSwitch=0
SpecialMediaType=0x63

#AV record switch
AVRecordFileSwitch=0
AVRecordFileRootDir=./AVrecord/
AVRecordFileMaxNum=100000

#ģ��hashժҪ���㿪��
FuzzyDigestSwitch=0

#Ԫ��Ϣѡ��capIP�Ƿ��޸� 1����Ϊ����capIP, 0:ѡ��Ϊǰ�˻�CapIP
ModifyCapIPSwitch=1

#==============================================================DEDUP
[DEDUP]
#av_dedup service ���ض�Դҵ�������������Ϣ
ThriftIP=127.0.0.1;
ThriftIPNum=1
ThriftPort=9090
DedupBalanceNum=1000
DedupQueueNum=100000
DedupStatInterval=60
DedupThriftTime=5
DedupHtableArg=0

#���ض�Դҵ�񿪹�
AVDedupSwitch=0
AVDedupInvalid=1
#td=(URL+ServerIP...)+data(<=65536)
DedupTdDataSize=65536
#��Դ�ȴ��ij�ʱʱ��
MultiWaitTimeout=30
#��Դ��ʱ���ص���������
MultiTimerCbMaxNum=500

#av_dedup log 
DedupLogLevel= 30
DedupLogPath= ./log/dedup.log
#==============================================================MULTIMEDIA
[MULTIMEDIA]
#JSON to kafka ��ý����Ϣ�ش�ҵ�����������
MediaJSONKafkaBrokers=

#media info send to kfaka ��ý��JSON��Ϣ�ش�KAFKA����
MediaJSONSwitch=0

#==============================================================VOIP
[VOIP]
VOIPFilterSwitch=0

#VOIP survey log �����־
VOIPSurveyLogIP=
VOIPSurveyLogIPNum=
VOIPSurveyLogPort=

#VOIP total log ȫ����־
VOIPFullLogIP=
VOIPFullLogIPNum=
VOIPFullLogPort=

#voip log
VOIPLogLevel= 20
VOIPLogPath= ./log/voip.log

#==============================================================APP
[APP]
#�ֻ�app����
AppSwitch=0


#--------------------------------------------------------------------LOG
[LOG]
AppName=rssb
StatRemoteSwitch=
StatServerIP=
StatServerPort=

#field_stat
StatCycle=30
StatFile=./log/rssb_stat.log

SysinfoCycle=30
SysinfoFile=./log/rssb_sysinfo.log

#log in general
LogLevel= 30
LogPath= ./log/runtime.log

#frag msg log
FragLogLevel= 30
FragLogPath= ./log/frag.log

#resp msg log
RespLogPath= ./log/survey.log

#media create log
MediaCreateLogPath= ./log/media_create.log

#media expire log
MediaExpireLogPath= ./log/media_expire.log

#--------------------------------------------------------------------DEBUG
[DEBUG]
/*��Ŀ���б��ش洢*/
FileStoreSwitch=0
FileStorePath=./log/file/

/*���н�Ŀ�����б��ظ��ٻ�д*/
AllHitMonitorSwitch=0
AllHitMonitorCompleteRate=0
AllHitMonitorFilenameType=0

#1: (reoffset-1)*content-length  0: accoffset
HlsAboffsetInMode=1

/*��Ƭ������Ч��־*/
FragSurveyInvalid=0

/*JSON�ļ�д����*/
JSONLocalSwitch=0


[WLB]
wlb_on=0
wlb_topic=AV
wlb_group_name=xx
user_tag=xx
health_check_port=52100
health_check_interval=10
data_port=30000
capacity=32
cost=32
wlb_report_interval=10

bfd_recv_port=0