config.ini 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. ; auto-generated by mINI class {
  2. [api]
  3. apiDebug=1
  4. defaultSnap=./www/logo.png
  5. downloadRoot=./www
  6. secret=JbGSW0jtsUnH4CP7M757z8L5AZucnUiG
  7. snapRoot=./www/snap/
  8. [cluster]
  9. origin_url=
  10. retry_count=3
  11. timeout_sec=15
  12. [ffmpeg]
  13. bin=/usr/bin/ffmpeg
  14. cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s
  15. log=./ffmpeg/ffmpeg.log
  16. restart_sec=0
  17. snap=%s -i %s -y -f mjpeg -frames:v 1 -an %s
  18. [general]
  19. broadcast_player_count_changed=0
  20. check_nvidia_dev=1
  21. enableVhost=0
  22. enable_ffmpeg_log=0
  23. flowThreshold=64
  24. maxStreamWaitMS=15000
  25. mediaServerId=fastbee
  26. mergeWriteMS=0
  27. resetWhenRePlay=1
  28. streamNoneReaderDelayMS=20000
  29. unready_frame_cache=100
  30. wait_add_track_ms=3000
  31. wait_track_ready_ms=10000
  32. [hls]
  33. broadcastRecordTs=0
  34. deleteDelaySec=10
  35. fastRegister=0
  36. fileBufSize=65536
  37. segDelay=0
  38. segDur=2
  39. segKeep=0
  40. segNum=3
  41. segRetain=5
  42. [hook]
  43. alive_interval=60.0
  44. enable=1
  45. on_flow_report=http://java:8080/zlmhook/on_flow_report
  46. on_http_access=http://java:8080/zlmhook/on_http_access
  47. on_play=http://java:8080/zlmhook/on_play
  48. on_publish=http://java:8080/zlmhook/on_publish
  49. on_record_mp4=http://127.0.0.1:18081/zlmhook/on_record_mp4
  50. on_record_ts=
  51. on_rtp_server_timeout=http://java:8080/zlmhook/on_rtp_server_timeout
  52. on_rtsp_auth=
  53. on_rtsp_realm=
  54. on_send_rtp_stopped=http://java:8080/zlmhook/on_send_rtp_stopped
  55. on_server_exited=http://java:8080/zlmhook/on_server_exited
  56. on_server_keepalive=http://java:8080/zlmhook/on_server_keepalive
  57. on_server_started=http://java:8080/zlmhook/on_server_started
  58. on_shell_login=
  59. on_stream_changed=http://java:8080/zlmhook/on_stream_changed
  60. on_stream_none_reader=http://java:8080/zlmhook/on_stream_none_reader
  61. on_stream_not_found=http://java:8080/zlmhook/on_stream_not_found
  62. retry=1
  63. retry_delay=3.0
  64. stream_changed_schemas=rtsp/rtmp/fmp4/ts/hls/hls.fmp4
  65. timeoutSec=20
  66. [http]
  67. allow_cross_domains=1
  68. allow_ip_range=
  69. charSet=utf-8
  70. dirMenu=1
  71. forbidCacheSuffix=
  72. forwarded_ip_header=
  73. keepAliveSecond=30
  74. maxReqSize=40960
  75. notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>您访问的资源不存在!</h1></center><hr><center>ZLMediaKit(git hash:56d3032/2024-06-29T11:33:17+08:00,branch:master,build time:2024-06-29T13:41:26)</center></body></html>
  76. port=80
  77. rootPath=./www
  78. sendBufSize=65536
  79. sslport=443
  80. virtualPath=
  81. [multicast]
  82. addrMax=239.255.255.255
  83. addrMin=239.0.0.0
  84. udpTTL=64
  85. [protocol]
  86. add_mute_audio=1
  87. auto_close=0
  88. continue_push_ms=15000
  89. enable_audio=1
  90. enable_fmp4=1
  91. enable_hls=1
  92. enable_hls_fmp4=0
  93. enable_mp4=0
  94. enable_rtmp=1
  95. enable_rtsp=1
  96. enable_ts=1
  97. fmp4_demand=0
  98. hls_demand=0
  99. hls_save_path=./www
  100. modify_stamp=2
  101. mp4_as_player=0
  102. mp4_max_second=3600
  103. mp4_save_path=./www
  104. paced_sender_ms=0
  105. rtmp_demand=0
  106. rtsp_demand=0
  107. ts_demand=0
  108. [record]
  109. appName=record
  110. enableFmp4=0
  111. fastStart=0
  112. fileBufSize=65536
  113. fileRepeat=0
  114. sampleMS=500
  115. [rtc]
  116. externIP=
  117. maxNackMS=5000
  118. max_bitrate=0
  119. min_bitrate=0
  120. nackIntervalRatio=1.0
  121. nackMaxCount=15
  122. nackMaxMS=3000
  123. nackMaxSize=2048
  124. nackRtpSize=8
  125. port=8000
  126. preferredCodecA=PCMA,PCMU,opus,mpeg4-generic
  127. preferredCodecV=H264,H265,AV1,VP9,VP8
  128. rembBitRate=0
  129. rtpCacheCheckInterval=100
  130. start_bitrate=0
  131. tcpPort=8000
  132. timeoutSec=15
  133. [rtmp]
  134. directProxy=1
  135. enhanced=0
  136. handshakeSecond=15
  137. keepAliveSecond=15
  138. port=1935
  139. sslport=0
  140. [rtp]
  141. audioMtuSize=600
  142. h264_stap_a=1
  143. lowLatency=0
  144. rtpMaxSize=10
  145. videoMtuSize=1400
  146. [rtp_proxy]
  147. dumpDir=
  148. gop_cache=1
  149. h264_pt=98
  150. h265_pt=99
  151. opus_pt=100
  152. port=10000
  153. port_range=30000-30103
  154. ps_pt=96
  155. rtp_g711_dur_ms=100
  156. timeoutSec=5
  157. udp_recv_socket_buffer=41943040
  158. [rtsp]
  159. authBasic=0
  160. directProxy=1
  161. handshakeSecond=15
  162. keepAliveSecond=15
  163. lowLatency=0
  164. port=554
  165. rtpTransportType=-1
  166. sslport=0
  167. [shell]
  168. maxReqSize=1024
  169. port=0
  170. [srt]
  171. latencyMul=4
  172. pktBufSize=8192
  173. port=9000
  174. timeoutSec=5
  175. ; } ---