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