fixing daemon for cam

This commit is contained in:
Brad Stein 2025-07-04 13:09:07 -05:00
parent 07dbe15d9f
commit 6934bf8645

View File

@ -131,16 +131,16 @@ echo 1843200 >"$F/streaming/uncompressed/u/f1/dwMaxVideoFrameBufferSize"
echo 333333 >"$F/streaming/uncompressed/u/f1/dwDefaultFrameInterval" # 30fps echo 333333 >"$F/streaming/uncompressed/u/f1/dwDefaultFrameInterval" # 30fps
echo 333333 >"$F/streaming/uncompressed/u/f1/dwFrameInterval" echo 333333 >"$F/streaming/uncompressed/u/f1/dwFrameInterval"
# 3. REQUIRED HEADER LINKS ──────────────────────────────────────── # ── 3. REQUIRED HEADER LINKS ──────────────────────────────────────
# (1) Streaminginterface header # (1) create the header directories ──┐
rm -rf "$F/streaming/header" # in case a bad symlink is still there mkdir -p "$F/streaming/header/h" # │ h is a *directory*, not a symlink
mkdir -p "$F/streaming/header/h" # «h» MUST be a real directory mkdir -p "$F/control/header/h" # ┘
ln -sf ../../uncompressed/u "$F/streaming/header/h/1" # numeric link → format dir
# (2) Controlinterface header must point back to the streaming header # (2) link the format into the streaming header (index “1”)
rm -rf "$F/control/header" # idem ln -sf ../../uncompressed/u "$F/streaming/header/h/1"
mkdir -p "$F/control/header"
ln -sf ../../streaming/header/h "$F/control/header/h" # (3) link the streaming header into the control interface
ln -sf ../../streaming/header/h "$F/control/header/h/1"
# Friendly string # Friendly string
mkdir -p "$F/control/header/strings/0x409" mkdir -p "$F/control/header/strings/0x409"