make ICE recover on failure, resolve keyboard not responding to some users, handle blank screen caused by STATUS_STACK_BUFFER_OVERRUN with a watchdog implementation

This commit is contained in:
2026-07-21 11:55:10 +01:00
parent c6868f692a
commit 19ee3072a0
2 changed files with 132 additions and 11 deletions
+4 -1
View File
@@ -113,7 +113,10 @@ socat TCP-LISTEN:12345,reuseaddr,fork \
EXEC:"pacat --playback --device=mic_sink --format=s16le --rate=48000 --channels=1 --latency-msec=20" &
echo "socat mic listener started on TCP :12345"
# ── Start streaming agent ─────────────────────────────────────────────────────
# ── Start streaming agent (with auto-restart) ─────────────────────────────────
# gst_agent exits with code 1 on ICE failure or other fatal errors.
# Without a restart loop, the container sits dead until manually restarted.
# 3 second delay before each restart to avoid a tight crash loop.
while true; do
python3 ~/streaming-agent/gst_agent.py
echo "[gst_agent] exited with code $?, restarting in 3s..."