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/sifter/main.conf
2018-09-29 14:57:32 +08:00

148 lines
2.9 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]
LocalIP=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
MsgPort=22080
#unix-domain socket file path send frag
UnixSocketSendSrcAddr=/home/lishu/frag/frag_rssb/maskey/bin/un_send
UnixSocketSendDestAddr=/home/lishu/frag/frag_rssb/maskey/bin/data_recv
#udp socket recv port recv response msg
UnixSocketRecvAddr=/home/lishu/frag/frag_rssb/maskey/bin/un_recv
#usm
USM_ON_FLAG=1
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
#av_dedup service 降载业务的网络配置信息
ThriftIP=127.0.0.1;
ThriftIPNum=1
ThriftPort=9090
DedupBalanceNum=1000
DedupQueueNum=100000
DedupStatInterval=60
DedupThriftNum=5
DedupHtableArg=0
#JSON to kafka 跨媒体信息回传业务的网络配置
MediaJSONKafkaBrokers=
[SYSTEM]
ThreadNum=4
BizmanQueueMode=0
#media renew time
RenewTimeMax=7200
RenewTimeMin=600
RenewTimeStep=6
#节目HASH表
MediaHashSize=65536
MediaHashElemNum=1048576
MediaHashExpireTime=2
#高速回写hash文件管理DumpfileHashElemNum就是最大的并发文件数目
DumpfileHashSize=1024
DumpfileHashElemNum=512
DumpfileHahsExpireTime=6
#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=0
AVRecordFileRootDir=./AVrecord/
AVRecordFileMaxNum=100000
#降载业务开关
AVDedupSwitch=0
#td=(URL+ServerIP...)+data(<=65536)
DedupTdDataSize=0
#media info send to kfaka 跨媒体JSON信息回传KAFKA开关
MediaJSONSwitch=0
#手机app开关
AppSwitch=0
[LOG]
#field_stat
StatCycle=2
StatFile=./log/rssb_stat.log
SysinfoCycle=2
SysinfoFile=./log/rssb_sysinfo.log
#log in general
LogLevel= 30
LogPath= ./log/runtime.log
#frag msg log
FragLogLevel= 20
FragLogPath= ./log/frag.log
#av_dedup log
DedupLogLevel= 10
DedupLogPath= ./log/dedup.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]
/*命中mid_trace.conf的节目进行本地存储*/
FileStoreSwitch=0
FileStorePath=./log/file/
/*所有节目都进行本地高速回写*/
AllHitMonitorSwitch=0
#1: (reoffset-1)*content-length 0: accoffset
HlsAboffsetInMode=1
/*trace log path*/
TracePath=./log/