mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
fix: add verify timeinterval and iframeinterval in snap config
This commit is contained in:
@@ -46,21 +46,22 @@ cascadeserver:
|
||||
|
||||
snap:
|
||||
enable: false
|
||||
snapsavemanual: false # 手动截图是否保存文件
|
||||
snapwatermark:
|
||||
text: "Monibuca$T{2006-01-02 15:04:05}"
|
||||
ismanualmodesave: true # 手动截图是否保存文件
|
||||
watermark:
|
||||
text: "Monibuca $T{2006-01-02 15:04:05.000}"
|
||||
fontpath: "/System/Library/Fonts/STHeiti Light.ttc" # mac字体路径
|
||||
# fontpath: "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc" # linux字体路径 思源黑体
|
||||
# fontpath: "C:/Windows/Fonts/msyh.ttf" # windows字体路径 微软雅黑
|
||||
fontsize: 36
|
||||
fontsize: 16
|
||||
fontspacing: 2 # 添加字体间距配置
|
||||
fontcolor: "rgba(255,165,0,1)"
|
||||
offsetx: 10
|
||||
offsety: 10
|
||||
snapmode: 1
|
||||
snaptimeinterval: 1s
|
||||
snapsavepath: "./snaps"
|
||||
snapiframeinterval: 3
|
||||
snapquerytimedelta: 3 # 查询截图时允许的最大时间差(秒)
|
||||
mode: 2 #截图模式:0-时间间隔,1-关键帧间隔 2-HTTP请求模式(手动触发)
|
||||
timeinterval: 3s
|
||||
savepath: "./snap"
|
||||
iframeinterval: 3 # 截图i帧间隔,默认为3,即每隔3个i帧截图一次
|
||||
querytimedelta: 3 # 查询截图时允许的最大时间差(秒)
|
||||
filter: "^live/.*"
|
||||
onpub:
|
||||
transform:
|
||||
|
||||
Reference in New Issue
Block a user