能在Docker一键跑完大致流程

This commit is contained in:
氵帆
2025-09-08 13:36:27 +08:00
parent 021e7a908f
commit f0f62fa675
5 changed files with 192 additions and 103 deletions

View File

@@ -52,21 +52,21 @@ alive_interval=10.0
enable=1
on_flow_report=
on_http_access=
on_play=http://127.0.0.1:18978/index/hook/on_play
on_publish=http://127.0.0.1:18978/index/hook/on_publish
on_record_mp4=http://127.0.0.1:18978/index/hook/on_record_mp4
on_play=http://polaris-wvp:18978/index/hook/on_play
on_publish=http://polaris-wvp:18978/index/hook/on_publish
on_record_mp4=http://polaris-wvp:18978/index/hook/on_record_mp4
on_record_ts=
on_rtp_server_timeout=http://127.0.0.1:18978/index/hook/on_rtp_server_timeout
on_rtp_server_timeout=http://polaris-wvp:18978/index/hook/on_rtp_server_timeout
on_rtsp_auth=
on_rtsp_realm=
on_send_rtp_stopped=http://127.0.0.1:18978/index/hook/on_send_rtp_stopped
on_send_rtp_stopped=http://polaris-wvp:18978/index/hook/on_send_rtp_stopped
on_server_exited=
on_server_keepalive=http://127.0.0.1:18978/index/hook/on_server_keepalive
on_server_started=http://127.0.0.1:18978/index/hook/on_server_started
on_server_keepalive=http://polaris-wvp:18978/index/hook/on_server_keepalive
on_server_started=http://polaris-wvp:18978/index/hook/on_server_started
on_shell_login=
on_stream_changed=http://127.0.0.1:18978/index/hook/on_stream_changed
on_stream_none_reader=http://127.0.0.1:18978/index/hook/on_stream_none_reader
on_stream_not_found=http://127.0.0.1:18978/index/hook/on_stream_not_found
on_stream_changed=http://polaris-wvp:18978/index/hook/on_stream_changed
on_stream_none_reader=http://polaris-wvp:18978/index/hook/on_stream_none_reader
on_stream_not_found=http://polaris-wvp:18978/index/hook/on_stream_not_found
retry=1
retry_delay=3.0
stream_changed_schemas=rtsp/rtmp/fmp4/ts/hls/hls.fmp4
@@ -82,10 +82,10 @@ forwarded_ip_header=
keepAliveSecond=30
maxReqSize=40960
notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>您访问的资源不存在!</h1></center><hr><center>ZLMediaKit(git hash:8ccb4e9/%aI,branch:master,build time:2024-11-07T10:34:19)</center></body></html>
port=6080
port=80
rootPath=./www
sendBufSize=65536
sslport=4443
sslport=443
virtualPath=
[multicast]
@@ -99,7 +99,7 @@ auto_close=0
continue_push_ms=3000
enable_audio=1
enable_fmp4=1
enable_hls=1
enable_hls=0
enable_hls_fmp4=0
enable_mp4=0
enable_rtmp=1
@@ -111,7 +111,7 @@ hls_save_path=./www
modify_stamp=2
mp4_as_player=0
mp4_max_second=3600
mp4_save_path=/opt/media
mp4_save_path=/opt/media/www
paced_sender_ms=0
rtmp_demand=0
rtsp_demand=0
@@ -119,7 +119,7 @@ ts_demand=0
[record]
appName=record
enableFmp4=0
enableFmp4=1
fastStart=0
fileBufSize=65536
fileRepeat=0
@@ -168,7 +168,7 @@ h264_pt=98
h265_pt=99
merge_frame=1
opus_pt=100
port=10000
port=10003
port_range=30000-30500
ps_pt=96
rtp_g711_dur_ms=100