This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
av-frag-rssb/bin/conf/main.conf
2018-09-29 17:51:33 +08:00

236 lines
4.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#--------------------------------------------------------------------NETWORK
[NETWORK]
LocalIP=em1
FwdIP=em1
#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
MsgPort=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
#udp socket recv port recv response msg
UnixSocketRecvAddr=/home/mesasoft/frag_rssb/un_recv
#udp socket:send frag
UdpSendIP=127.0.0.1;
UdpSendIPNum=1
UdpSendPort=33082
#共享内存配置
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=1
#向前端发送节目确认
AckSwitch=0
#IVI去重开关
IVISwitch=0
#发送接口是否启用AV_sendback
AVSendbackSwitch=1
#index第二次反查时间
IndexQueryTime=10
#索引查询定时器回调的最大次数
IndexQueryTimerCbMaxNum=500
#media renew time
RenewTimeMax=7200
RenewTimeMin=600
RenewTimeStep=6
#节目HASH表
MediaHashSize=65536
MediaHashElemNum=1048576
MediaHashExpireTime=300
#高速回写hash文件管理DumpfileHashElemNum就是最大的并发文件数目
DumpfileHashSize=1024
DumpfileHashElemNum=512
DumpfileHahsExpireTime=120
#monitor service
MonitorHashSize=65536
MonitorHashElemNum=1048576
MonitorHahsExpireTime=120
MonitorFileSwitch=1
MonitorFileRootDir=/home/yspdata/qd_monitor/
MonitorFileDay=1
#special media type, send windows system
ForwardSpecialMediaSwitch=1
SpecialMediaType=0x68
#AV record switch
AVRecordFileSwitch=1
AVRecordFileRootDir=./AVrecord/
AVRecordFileMaxNum=100000
#模糊hash摘要计算开关
FuzzyDigestSwitch=1
#元信息选项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=1
AVDedupInvalid=0
#td=(URL+ServerIP...)+data(<=65536)
DedupTdDataSize=65536
#多源等待的超时时间
MultiWaitTimeout=30
#多源定时器回调的最大次数
MultiTimerCbMaxNum=500
#av_dedup log
DedupLogLevel= 10
DedupLogPath= ./log/dedup.log
#==============================================================MULTIMEDIA
[MULTIMEDIA]
#JSON to kafka 跨媒体信息回传业务的网络配置
MediaJSONKafkaBrokers=
#media info send to kfaka 跨媒体JSON信息回传KAFKA开关
MediaJSONSwitch=1
#==============================================================VOIP
[VOIP]
VOIPFilterSwitch=1
#VOIP survey log 监测日志
VOIPSurveyLogIP=
VOIPSurveyLogIPNum=
VOIPSurveyLogPort=
#VOIP total log 全量日志
VOIPFullLogIP=
VOIPFullLogIPNum=
VOIPFullLogPort=
#voip log
VOIPLogLevel= 30
VOIPLogPath= ./log/voip.log
#==============================================================APP
[APP]
#手机app开关
AppSwitch=0
#--------------------------------------------------------------------LOG
[LOG]
AppName=rssb
StatRemoteSwitch=
StatServerIP=
StatServerPort=
#field_stat
StatCycle=2
StatFile=./log/rssb_stat.log
SysinfoCycle=2
SysinfoFile=./log/rssb_sysinfo.log
#log in general
LogLevel= 10
LogPath= ./log/runtime.log
#frag msg log
FragLogLevel= 10
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=2
AllHitMonitorCompleteRate=90
AllHitMonitorFilenameType=1
#1: (reoffset-1)*content-length 0: accoffset
HlsAboffsetInMode=1
/*碎片建议无效标志*/
FragSurveyInvalid=0
/*JSON文件写本地*/
JSONLocalSwitch=1
[WLB]
wlb_on=1
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=
bfd_send_port=