|
|
@@ -0,0 +1,129 @@
|
|
|
+; auto-generated by mINI class {
|
|
|
+
|
|
|
+[api]
|
|
|
+apiDebug=1
|
|
|
+defaultSnap=./www/logo.png
|
|
|
+secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
|
|
|
+snapRoot=./www/snap/
|
|
|
+
|
|
|
+[cluster]
|
|
|
+origin_url=
|
|
|
+timeout_sec=15
|
|
|
+
|
|
|
+[ffmpeg]
|
|
|
+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]
|
|
|
+addMuteAudio=1
|
|
|
+continue_push_ms=15000
|
|
|
+enableVhost=0
|
|
|
+enable_audio=1
|
|
|
+flowThreshold=1024
|
|
|
+fmp4_demand=0
|
|
|
+hls_demand=0
|
|
|
+maxStreamWaitMS=15000
|
|
|
+mediaServerId=TVopaT4GgejSa6KR
|
|
|
+mergeWriteMS=0
|
|
|
+modifyStamp=0
|
|
|
+publishToHls=1
|
|
|
+publishToMP4=0
|
|
|
+resetWhenRePlay=1
|
|
|
+rtmp_demand=0
|
|
|
+rtsp_demand=0
|
|
|
+streamNoneReaderDelayMS=20000
|
|
|
+ts_demand=0
|
|
|
+unready_frame_cache=100
|
|
|
+wait_add_track_ms=3000
|
|
|
+wait_track_ready_ms=10000
|
|
|
+
|
|
|
+[hls]
|
|
|
+broadcastRecordTs=0
|
|
|
+deleteDelaySec=0
|
|
|
+fileBufSize=65536
|
|
|
+filePath=./www
|
|
|
+segDur=2
|
|
|
+segNum=3
|
|
|
+segRetain=5
|
|
|
+
|
|
|
+[hook]
|
|
|
+admin_params=secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
|
|
|
+alive_interval=30.000000
|
|
|
+enable=0
|
|
|
+on_flow_report=
|
|
|
+on_http_access=
|
|
|
+on_play=
|
|
|
+on_publish=
|
|
|
+on_record_mp4=
|
|
|
+on_record_ts=
|
|
|
+on_rtsp_auth=
|
|
|
+on_rtsp_realm=
|
|
|
+on_server_keepalive=
|
|
|
+on_server_started=
|
|
|
+on_shell_login=
|
|
|
+on_stream_changed=
|
|
|
+on_stream_none_reader=
|
|
|
+on_stream_not_found=
|
|
|
+timeoutSec=10
|
|
|
+
|
|
|
+[http]
|
|
|
+charSet=gb2312
|
|
|
+dirMenu=1
|
|
|
+forbidCacheSuffix=
|
|
|
+keepAliveSecond=15
|
|
|
+maxReqSize=40960
|
|
|
+notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>Page not found</h1></center><hr></body></html>
|
|
|
+port=80
|
|
|
+rootPath=./www
|
|
|
+sendBufSize=65536
|
|
|
+sslport=443
|
|
|
+virtualPath=
|
|
|
+
|
|
|
+[multicast]
|
|
|
+addrMax=239.255.255.255
|
|
|
+addrMin=239.0.0.0
|
|
|
+udpTTL=64
|
|
|
+
|
|
|
+[record]
|
|
|
+appName=record
|
|
|
+fastStart=0
|
|
|
+fileBufSize=65536
|
|
|
+filePath=./www
|
|
|
+fileRepeat=0
|
|
|
+fileSecond=3600
|
|
|
+sampleMS=500
|
|
|
+
|
|
|
+[rtmp]
|
|
|
+handshakeSecond=15
|
|
|
+keepAliveSecond=15
|
|
|
+modifyStamp=0
|
|
|
+port=1935
|
|
|
+sslport=19350
|
|
|
+
|
|
|
+[rtp]
|
|
|
+audioMtuSize=600
|
|
|
+rtpMaxSize=10
|
|
|
+videoMtuSize=1400
|
|
|
+
|
|
|
+[rtp_proxy]
|
|
|
+dumpDir=
|
|
|
+port=10000
|
|
|
+port_range=30000-35000
|
|
|
+timeoutSec=15
|
|
|
+
|
|
|
+[rtsp]
|
|
|
+authBasic=0
|
|
|
+directProxy=1
|
|
|
+handshakeSecond=15
|
|
|
+keepAliveSecond=15
|
|
|
+port=554
|
|
|
+sslport=332
|
|
|
+
|
|
|
+[shell]
|
|
|
+maxReqSize=1024
|
|
|
+port=9000
|
|
|
+
|
|
|
+; } ---
|