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