init commit
This commit is contained in:
19
cht/config.py
Normal file
19
cht/config.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from pathlib import Path
|
||||
|
||||
APP_ID = "com.cht.StreamAgent"
|
||||
APP_NAME = "CHT"
|
||||
|
||||
# Default session data location
|
||||
DATA_DIR = Path.home() / ".local" / "share" / "cht"
|
||||
SESSIONS_DIR = DATA_DIR / "sessions"
|
||||
|
||||
# Stream defaults
|
||||
STREAM_HOST = "0.0.0.0"
|
||||
STREAM_PORT = 4444
|
||||
|
||||
# Frame extraction
|
||||
SCENE_THRESHOLD = 0.3 # 0-1, lower = more sensitive
|
||||
MAX_FRAME_INTERVAL = 30 # seconds, fallback if no scene change
|
||||
|
||||
# Segment recording
|
||||
SEGMENT_DURATION = 60 # seconds per .ts segment
|
||||
Reference in New Issue
Block a user