167 lines
3.1 KiB
INI
Executable File
167 lines
3.1 KiB
INI
Executable File
; auto-generated by mINI class {
|
|
|
|
[api]
|
|
apiDebug=1
|
|
defaultSnap=./www/logo.png
|
|
secret=034523TF8yT83wh5Wvz73f7
|
|
snapRoot=./www/snap/
|
|
|
|
[cluster]
|
|
origin_url=
|
|
retry_count=3
|
|
timeout_sec=15
|
|
|
|
[ffmpeg]
|
|
bin=/usr/bin/ffmpeg
|
|
cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s
|
|
log=./ffmpeg/ffmpeg.log
|
|
restart_sec=0
|
|
snap=%s -i %s -y -f mjpeg -t 0.001 %s
|
|
|
|
[general]
|
|
check_nvidia_dev=1
|
|
enableVhost=0
|
|
enable_ffmpeg_log=0
|
|
flowThreshold=1024
|
|
maxStreamWaitMS=15000
|
|
mediaServerId=GQ3TF8yT83wh5Wvz
|
|
mergeWriteMS=0
|
|
resetWhenRePlay=1
|
|
streamNoneReaderDelayMS=15000
|
|
unready_frame_cache=100
|
|
wait_add_track_ms=3000
|
|
wait_track_ready_ms=10000
|
|
|
|
[hls]
|
|
broadcastRecordTs=0
|
|
deleteDelaySec=10
|
|
fileBufSize=65536
|
|
segDur=2
|
|
segKeep=0
|
|
segNum=3
|
|
segRetain=5
|
|
|
|
[hook]
|
|
admin_params=secret=034523TF8yT83wh5Wvz73f7
|
|
alive_interval=30.000000
|
|
enable=1
|
|
on_flow_report=
|
|
on_http_access=
|
|
on_play=http://192.168.1.3:18082/index/hook/on_play
|
|
on_publish=http://192.168.1.3:18082/index/hook/on_publish
|
|
on_record_mp4=
|
|
on_record_ts=
|
|
on_rtp_server_timeout=http://192.168.1.3:18082/index/hook/on_rtp_server_timeout
|
|
on_rtsp_auth=
|
|
on_rtsp_realm=
|
|
on_send_rtp_stopped=http://192.168.1.3:18082/index/hook/on_send_rtp_stopped
|
|
on_server_keepalive=http://192.168.1.3:18082/index/hook/on_server_keepalive
|
|
on_server_started=http://192.168.1.3:18082/index/hook/on_server_started
|
|
on_shell_login=
|
|
on_stream_changed=http://192.168.1.3:18082/index/hook/on_stream_changed
|
|
on_stream_none_reader=http://192.168.1.3:18082/index/hook/on_stream_none_reader
|
|
on_stream_not_found=http://192.168.1.3:18082/index/hook/on_stream_not_found
|
|
retry=1
|
|
retry_delay=3.000000
|
|
timeoutSec=20
|
|
|
|
[http]
|
|
charSet=utf-8
|
|
dirMenu=1
|
|
forbidCacheSuffix=
|
|
forwarded_ip_header=
|
|
keepAliveSecond=15
|
|
maxReqSize=40960
|
|
notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>您访问的资源不存在!</h1></center><hr><center>ZLMediaKit(git hash:f6cba98/2023-02-06T14:18:21+08:00,branch:master,build time:2023-02-07T10:51:47)</center></body></html>
|
|
port=6080
|
|
rootPath=./www
|
|
sendBufSize=65536
|
|
sslport=16080
|
|
virtualPath=
|
|
|
|
[multicast]
|
|
addrMax=239.255.255.255
|
|
addrMin=239.0.0.0
|
|
udpTTL=64
|
|
|
|
[protocol]
|
|
add_mute_audio=1
|
|
continue_push_ms=3000
|
|
enable_audio=1
|
|
enable_fmp4=1
|
|
enable_hls=1
|
|
enable_mp4=0
|
|
enable_rtmp=1
|
|
enable_rtsp=1
|
|
enable_ts=1
|
|
fmp4_demand=0
|
|
hls_demand=0
|
|
hls_save_path=./www
|
|
modify_stamp=0
|
|
mp4_as_player=0
|
|
mp4_max_second=3600
|
|
mp4_save_path=./www
|
|
rtmp_demand=0
|
|
rtsp_demand=0
|
|
ts_demand=0
|
|
|
|
[record]
|
|
appName=record
|
|
fastStart=0
|
|
fileBufSize=65536
|
|
fileRepeat=0
|
|
sampleMS=500
|
|
|
|
[rtc]
|
|
externIP=192.168.1.3
|
|
port=8000
|
|
preferredCodecA=PCMA,PCMU,opus,mpeg4-generic
|
|
preferredCodecV=H264,H265,AV1,VP9,VP8
|
|
rembBitRate=0
|
|
tcpPort=8000
|
|
timeoutSec=15
|
|
|
|
[rtmp]
|
|
handshakeSecond=15
|
|
keepAliveSecond=15
|
|
modifyStamp=0
|
|
port=1935
|
|
sslport=19350
|
|
|
|
[rtp]
|
|
audioMtuSize=600
|
|
lowLatency=0
|
|
rtpMaxSize=10
|
|
videoMtuSize=1400
|
|
|
|
[rtp_proxy]
|
|
dumpDir=
|
|
h264_pt=98
|
|
h265_pt=99
|
|
opus_pt=100
|
|
port=10000
|
|
port_range=40000-40500
|
|
ps_pt=96
|
|
timeoutSec=15
|
|
|
|
[rtsp]
|
|
authBasic=0
|
|
directProxy=1
|
|
handshakeSecond=15
|
|
keepAliveSecond=15
|
|
lowLatency=0
|
|
port=10554
|
|
sslport=
|
|
|
|
[shell]
|
|
maxReqSize=1024
|
|
port=9000
|
|
|
|
[srt]
|
|
latencyMul=4
|
|
pktBufSize=8192
|
|
port=9000
|
|
timeoutSec=5
|
|
|
|
; } ---
|