; ZLMediaKit 配置文件 ; 针对 ARM64 + 联网环境优化 ; 与 GoWVP (Owl) 联动配置 ; ; 重要配置说明: ; 1. Hook回调地址(127.0.0.1): ZLMediaKit调用GoWVP的接口,两者在同一台服务器的host网络模式下, ; 使用127.0.0.1是正确的(本机内部通信),无需修改。 ; 2. externIP(192.168.3.108): WebRTC需要设置服务器实际IP,否则外部设备无法访问。 ; 请根据实际网络环境修改此IP地址。 [api] apiDebug=1 secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc snapRoot=./www/snap/ defaultSnap=./www/logo.png downloadRoot=./www [ffmpeg] bin=/usr/bin/ffmpeg cmd=%s -re -i %s -c copy -f flv %s snap=%s -i %s -y -f mjpeg -t 0.001 %s [general] enableVhost=0 flowThreshold=1024 maxStreamWaitMS=15000 streamNoneReaderDelayMS=20000 resetWhenRePlay=1 mergeWriteMS=0 mediaServerId=owl-zlm-server-01 wait_add_track_ms=3000 wait_track_ready_ms=10000 [hls] fileBufSize=65536 segDur=2 segNum=3 segRetain=5 broadcastRecordTs=0 fastRegister=0 [hook] enable=1 on_publish=https://127.0.0.1:15123/api/v1/hook/on_publish on_play=https://127.0.0.1:15123/api/v1/hook/on_play on_stream_not_found=https://127.0.0.1:15123/api/v1/hook/on_stream_not_found on_server_started=https://127.0.0.1:15123/api/v1/hook/on_server_started on_server_keepalive=https://127.0.0.1:15123/api/v1/hook/on_server_keepalive on_send_rtp_stopped=https://127.0.0.1:15123/api/v1/hook/on_send_rtp_stopped on_rtp_server_timeout=https://127.0.0.1:15123/api/v1/hook/on_rtp_server_timeout admin_params=secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc timeoutSec=20 [http] charSet=utf-8 keepAliveSecond=30 maxReqSize=40960 notFound=