Files
livekit-cameras/tests/test_config.py
T
root 950128deec feat: DelaySum beamform plus hop process latency
Keep C920 stereo through SpeechBrain GCC-PHAT Delay-and-Sum, then
MetricGAN, and publish mono to LiveKit. Record last_dt_ms and log
process_ms/capture_ms every 50 hops for the latency plan.
2026-08-28 06:16:25 +00:00

12 lines
303 B
Python

from config import Config, _parse_cameras
def test_parse_cameras_list():
assert _parse_cameras("1,5") == ["1", "5"]
assert _parse_cameras("all") == ["all"]
assert _parse_cameras("1-3") == ["1", "2", "3"]
def test_default_beamform_mode_auto():
assert Config().beamform_mode == "auto"