实现docker的开箱即用

This commit is contained in:
氵帆
2025-09-04 14:52:25 +08:00
parent 04742531fc
commit 021e7a908f
6 changed files with 134 additions and 87 deletions

View File

@@ -52,21 +52,21 @@ alive_interval=10.0
enable=1
on_flow_report=
on_http_access=
on_play=
on_publish=
on_record_mp4=
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_record_ts=
on_rtp_server_timeout=
on_rtp_server_timeout=http://127.0.0.1:18978/index/hook/on_rtp_server_timeout
on_rtsp_auth=
on_rtsp_realm=
on_send_rtp_stopped=
on_send_rtp_stopped=http://127.0.0.1:18978/index/hook/on_send_rtp_stopped
on_server_exited=
on_server_keepalive=
on_server_started=
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_shell_login=
on_stream_changed=
on_stream_none_reader=
on_stream_not_found=
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
retry=1
retry_delay=3.0
stream_changed_schemas=rtsp/rtmp/fmp4/ts/hls/hls.fmp4
@@ -111,7 +111,7 @@ hls_save_path=./www
modify_stamp=2
mp4_as_player=0
mp4_max_second=3600
mp4_save_path=/home
mp4_save_path=/opt/media
paced_sender_ms=0
rtmp_demand=0
rtsp_demand=0
@@ -126,6 +126,7 @@ fileRepeat=0
sampleMS=500
[rtc]
bfilter=0
datachannel_echo=0
externIP=
maxRtpCacheMS=5000
@@ -165,6 +166,7 @@ dumpDir=
gop_cache=1
h264_pt=98
h265_pt=99
merge_frame=1
opus_pt=100
port=10000
port_range=30000-30500
@@ -189,6 +191,7 @@ port=0
[srt]
latencyMul=4
passPhrase=
pktBufSize=8192
port=9000
timeoutSec=5