# /etc/default/diy-babycam
# Configuration for diy-babycam services.
# Edit this file before enabling the services.

# Audio input device — PipeWire/PulseAudio source name.
# See README.md for how to find this value on your system.
BABYCAM_AUDIO_DEVICE="alsa_input.usb-YOURDEVICE.analog-stereo"

# Video device (webcam).
BABYCAM_VIDEO_DEVICE="/dev/video0"

# ntfy.sh push notification URL.
# Create a channel at https://ntfy.sh and put its URL here.
BABYCAM_NTFY_URL="https://ntfy.sh/your-channel-here"

# Audio alert threshold (0.0–1.0). Raise to reduce false positives.
BABYCAM_THRESHOLD="0.015"

# Minimum seconds between successive alerts (cooldown).
BABYCAM_COOLDOWN="10"

# Audio measurement window in seconds. Shorter catches brief transients (default: 0.3).
BABYCAM_SAMPLE_SECONDS="0.3"

# Port VLC serves the audio stream on.
BABYCAM_STREAM_PORT="8080"

# Port for the web page that embeds the stream (http://<host>:8081/).
BABYCAM_WEB_PORT="8081"
