fixing daemon for cam
This commit is contained in:
parent
fc92d0321b
commit
a2d07ef1e5
@ -147,6 +147,11 @@ echo "→ CONTENTS : $(ls $F/streaming/header)" >&2
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# 3‑a Link format #1 into the header *first*
|
||||
for _ in {1..50}; do # max 50 × 2 ms = 100 ms
|
||||
[ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user