文件根目录httpRoot改成www,并且自动复制到相应目录

This commit is contained in:
xiongziliang
2019-12-27 12:15:38 +08:00
parent 2aec68fd6f
commit aaab52c94f
4 changed files with 19 additions and 7 deletions

View File

@@ -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点播每次流化数据量单位毫秒