feat: add snap by iframe interval feature

This commit is contained in:
banshan
2024-12-26 21:11:23 +08:00
parent 4ae2a8c7e2
commit 79150b05de
3 changed files with 126 additions and 62 deletions

View File

@@ -45,7 +45,7 @@ cascadeserver:
# live/test: rtsp://admin:1qaz2wsx3EDC@localhost:8554/live/test
snap:
enabled: false
enable: false
snapwatermark:
text: "Monibuca"
fontpath: "/System/Library/Fonts/STHeiti Light.ttc" # mac字体路径
@@ -55,6 +55,8 @@ snap:
fontcolor: "rgba(255,165,0,1)"
offsetx: 10
offsety: 10
snapinterval: 1s
snapmode: 1
snaptimeinterval: 1s
snapsavepath: "./snaps"
snapiframeinterval: 0
filter: "^live/.*"