lazy solution of restarting gst stream in case of network issue

This commit is contained in:
jenz 2026-07-08 21:06:09 +01:00
parent d8d03cdf5a
commit fba9bfae5a

View File

@ -114,4 +114,8 @@ socat TCP-LISTEN:12345,reuseaddr,fork \
echo "socat mic listener started on TCP :12345" echo "socat mic listener started on TCP :12345"
# ── Start streaming agent ───────────────────────────────────────────────────── # ── Start streaming agent ─────────────────────────────────────────────────────
while true; do
python3 ~/streaming-agent/gst_agent.py python3 ~/streaming-agent/gst_agent.py
echo "[gst_agent] exited with code $?, restarting in 3s..."
sleep 3
done