mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
文件根目录httpRoot改成www,并且自动复制到相应目录
This commit is contained in:
@@ -16,7 +16,7 @@ log=./ffmpeg/ffmpeg.log
|
||||
|
||||
[general]
|
||||
#是否启用虚拟主机
|
||||
enableVhost=1
|
||||
enableVhost=0
|
||||
#播放器或推流器在断开后会触发hook.on_flow_report事件(使用多少流量事件),
|
||||
#flowThreshold参数控制触发hook.on_flow_report事件阈值,使用流量超过该阈值后才触发,单位KB
|
||||
flowThreshold=1024
|
||||
@@ -48,7 +48,7 @@ publishToMP4=0
|
||||
fileBufSize=65536
|
||||
#hls保存文件路径
|
||||
#可以为相对(相对于本可执行程序目录)或绝对路径
|
||||
filePath=./httpRoot
|
||||
filePath=./www
|
||||
#hls最大切片时间
|
||||
segDur=2
|
||||
#m3u8索引中,hls保留切片个数(实际保留切片个数大2~3个)
|
||||
@@ -104,7 +104,7 @@ notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><c
|
||||
port=80
|
||||
#http文件服务器根目录
|
||||
#可以为相对(相对于本可执行程序目录)或绝对路径
|
||||
rootPath=./httpRoot
|
||||
rootPath=./www
|
||||
#http文件服务器读文件缓存大小,单位BYTE,调整该参数可以优化文件io性能
|
||||
sendBufSize=65536
|
||||
#https服务器监听端口
|
||||
@@ -126,7 +126,7 @@ appName=record
|
||||
fileBufSize=65536
|
||||
#mp4录制保存、mp4点播根路径
|
||||
#可以为相对(相对于本可执行程序目录)或绝对路径
|
||||
filePath=./httpRoot
|
||||
filePath=./www
|
||||
#mp4录制切片时间,单位秒
|
||||
fileSecond=3600
|
||||
#mp4点播每次流化数据量,单位毫秒,
|
||||
|
||||
Reference in New Issue
Block a user