config.ini 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. ; auto-generated by mINI class {
  2. [api]
  3. apiDebug=1
  4. defaultSnap=./www/logo.png
  5. secret=p@ssw0rd
  6. snapRoot=./www/snap/
  7. [ffmpeg]
  8. bin=/usr/local/bin/ffmpeg
  9. cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s
  10. cmd1=%s -re -i %s -acodec copy -vn -f rtsp -rtsp_transport tcp %s
  11. log=./ffmpeg/ffmpeg.log
  12. snap=%s -i %s -y -f mjpeg -t 0.001 %s
  13. [general]
  14. addMuteAudio=1
  15. enableVhost=0
  16. enable_audio=0
  17. flowThreshold=0
  18. fmp4_demand=0
  19. hls_demand=0
  20. maxStreamWaitMS=15000
  21. mediaServerId=2rwdTVZd5DVkPz6H
  22. mergeWriteMS=0
  23. modifyStamp=0
  24. publishToHls=1
  25. publishToMP4=0
  26. resetWhenRePlay=1
  27. rtmp_demand=0
  28. rtsp_demand=0
  29. streamNoneReaderDelayMS=30000
  30. ts_demand=0
  31. [hls]
  32. broadcastRecordTs=0
  33. deleteDelaySec=0
  34. fileBufSize=65536
  35. filePath=./www
  36. segDur=2
  37. segNum=3
  38. segRetain=5
  39. [hook]
  40. admin_params=secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
  41. alive_interval=30.000000
  42. enable=1
  43. on_flow_report=http://192.168.32.218:8844/media/zlm/notify/on_flow_report
  44. on_http_access=http://192.168.32.218:8844/media/zlm/notify/on_http_access
  45. on_play=http://192.168.32.218:8844/media/zlm/notify/on_play
  46. on_publish=http://192.168.32.218:8844/media/zlm/notify/on_publish
  47. on_record_mp4=http://192.168.32.218:8844/media/zlm/notify/on_record_mp4
  48. on_record_ts=http://192.168.32.218:8844/media/zlm/notify/on_record_ts
  49. on_rtsp_auth=http://192.168.32.218:8844/media/zlm/notify/on_rtsp_auth
  50. on_rtsp_realm=http://192.168.32.218:8844/media/zlm/notify/on_rtsp_realm
  51. on_server_keepalive=
  52. on_server_started=http://192.168.32.218:8844/media/zlm/notify/on_server_started
  53. on_shell_login=http://192.168.32.218:8844/media/zlm/notify/on_shell_login
  54. on_stream_changed=http://192.168.32.218:8844/media/zlm/notify/on_stream_changed
  55. on_stream_none_reader=http://192.168.32.218:8844/media/zlm/notify/on_stream_none_reader
  56. on_stream_not_found=http://192.168.32.218:8844/media/zlm/notify/on_stream_not_found
  57. timeoutSec=20
  58. [http]
  59. charSet=utf-8
  60. dirMenu=1
  61. keepAliveSecond=15
  62. maxReqSize=4096
  63. notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>您访问的资源不存在!</h1></center><hr><center>ZLMediaKit-5.0(build in Jan 6 2021 09:54:59)</center></body></html>
  64. port=80
  65. rootPath=./www
  66. sendBufSize=65536
  67. sslport=443
  68. virtualPath=
  69. [multicast]
  70. addrMax=239.255.255.255
  71. addrMin=239.0.0.0
  72. udpTTL=64
  73. [record]
  74. appName=record
  75. fastStart=0
  76. fileBufSize=65536
  77. filePath=./www
  78. fileRepeat=0
  79. fileSecond=7200
  80. sampleMS=500
  81. [rtmp]
  82. handshakeSecond=15
  83. keepAliveSecond=15
  84. modifyStamp=0
  85. port=1935
  86. sslport=19350
  87. [rtp]
  88. audioMtuSize=200
  89. clearCount=10
  90. cycleMS=4680000
  91. maxRtpCount=50
  92. rtpMaxSize=10
  93. videoMtuSize=1400
  94. [rtp_proxy]
  95. checkSource=1
  96. dumpDir=
  97. port=10000
  98. timeoutSec=15
  99. [rtsp]
  100. authBasic=0
  101. directProxy=1
  102. handshakeSecond=15
  103. keepAliveSecond=15
  104. port=554
  105. sslport=332
  106. [shell]
  107. maxReqSize=1024
  108. port=9000
  109. ; } ---