flush configurable

This commit is contained in:
2026-04-03 12:05:29 -03:00
parent 074925c360
commit ade92069c0
3 changed files with 13 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ RELAY_PORT = 4445 # UDP loopback relay for live display
# Frame extraction — scene-only, no interval fallback
SCENE_THRESHOLD = 0.10 # 0-1, lower = more sensitive; 0.1 catches slide/window changes
SCENE_FLUSH_FRAMES = 2 # extra frames after scene change to flush encoder/muxer buffer (0 to disable)
# Segment recording
SEGMENT_DURATION = 60 # seconds per .ts segment