fixing daemon for cam

This commit is contained in:
Brad Stein 2025-07-04 15:01:06 -05:00
parent fc92d0321b
commit a2d07ef1e5

View File

@ -147,6 +147,11 @@ echo "→ CONTENTS : $(ls $F/streaming/header)" >&2
# ----------------------------------------------------------------------
# 3a Link format #1 into the header *first*
for _ in {1..50}; do # max 50×2ms = 100ms
[ -e "$F/streaming/header/h/bmInfo" ] && break
sleep 0.02
done
ln -sf ../../uncompressed/u "$F/streaming/header/h/1"
echo 1 >"$F/streaming/header/h/bNumFormats"
echo 0 >"$F/streaming/header/h/bmInfo"